Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

I am trying to Merge using c# this is not working :( , Its urgent Pls reply

New Here ,
Dec 31, 2017 Dec 31, 2017

          string sourceDoc = @"D:\XXXXX.pdf"; 

            AcroPDDoc objPDDoc = new AcroPDDoc();         

            objPDDoc.Open(sourceDoc);

            int numberpgaes = objPDDoc.GetNumPages(); //Getting Number here

            AcroPDDoc objPDDocNew = new AcroPDDoc();

          

            if (objPDDocNew.Create())

            {

                MessageBox.Show("New File Created");

            }

            if (objPDDocNew.InsertPages(-1, objPDDoc,0, numberpgaes, 1))

            {

                MessageBox.Show("File Inserted");

            }

            objPDDocNew.OpenAVDoc("Template");

TOPICS
Acrobat SDK and JavaScript
414
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 01, 2018 Jan 01, 2018
LATEST

Explain “not working” in detail please. We won’t run your code.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines