These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Help me to compare using DigSigComparePages

prabudass
Registered: Aug 14 2008
Posts: 71

Hi all,

I tried to compare the two pdf documents through acrobat sdk. But below code not working. Could you please advise on this.

Code:

--------
ACCB1 void ACCB2 MyPluginCommand(void *clientData)
{
ASAtom NameAtom = ASExtensionGetRegisteredName (gExtensionID);
const char * name = ASAtomGetString(NameAtom);
char str[256];
AVDoc avDoc = AVAppGetActiveDoc();

if(avDoc==NULL) {
strcat(str,"There is no PDF document loaded in Acrobat.");
}

else {
PDDoc pdDoc = AVDocGetPDDoc (avDoc);
int numPages = PDDocGetNumPages (pdDoc);
String* docA = S"D:\\first.pdf";
String* docB = S"D:\\second.pdf";
ASBool DigSigComparePages (pdDoc docA, pdDoc docB, true);
//sprintf(str,"%sThe front PDF document has %d pages.", str, numPages);
}

//AVAlertNote(str);
return;
}

Thanks in advance.

My Product Information:
Acrobat Pro 8.0, Windows
jithin86
Registered: Jun 24 2010
Posts: 5
Is it possible to compare pdfs in acrobat8.0 using C#??

Please reply...

Thanks
jithin86
Registered: Jun 24 2010
Posts: 5
i didnt get a single word you explained .

Are you sure you are answering to my question :)