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

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

New Here ,
Dec 31, 2017 Dec 31, 2017

Copy link to clipboard

Copied

          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

Views

321

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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