Open multiple pages in ONE pdf using Buttons in c#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PriyaShruti
    New Member
    • Mar 2012
    • 1

    Open multiple pages in ONE pdf using Buttons in c#

    Sir / Mam, please help me with this issue..

    when i click button 1 it opens the page in one pdf with the nameddestinatio n...

    when i click button 2 it opens different page in another pdf with the namedestination ...

    Any ideas... to open different pages or topics in one pdf when i click different buttons..???...

    Plz.... Desperate...... Desperate.....





    using System;
    using System.Collecti ons.Generic;
    using System.Componen tModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows. Forms;
    namespace button_click_pd f_2
    {
    public partial class Form1 : Form
    {

    System.Diagnost ics.Process myProcess = new System.Diagnost ics.Process();
    public Form1()
    {
    InitializeCompo nent();
    }
    private void button1_Click(o bject sender, EventArgs e)
    {

    myProcess.Start Info.FileName = "AcroRd32.e xe";
    myProcess.Start Info.Arguments = " /n /A \"nameddest=nam eddest\" C:\\temp\\file. pdf\"";
    myProcess.Start ();
    }
    private void button2_Click(o bject sender, EventArgs e)
    {
    myProcess.Start Info.FileName = "AcroRd32.e xe";
    myProcess.Start Info.Arguments = "/n /A \"nameddest=nam eddest:\" C:\\temp\\file. pdf\"";
    myProcess.Start ();

    }
    }
    }
    .
Working...