Comment options

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

reinierkops
User
Posts: 93
Joined: Mon Jul 07, 2008 8:41 am

Comment options

Post by reinierkops »

Is is possible to get the first few words in the comment window of the annotation. Now there are several options like: Show Subjects, Show Authors, Show Date, Show Text and Show Colors, but we want the option to see the OCR text of the annotation.

Or get automaticly the text in the in the popup-note, then we see that text in the comments window

I already found this option in the UI, can I turn on this option also via code
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2449
Joined: Thu Jun 30, 2005 4:11 pm

Re: Comment options

Post by Vasyl - PDF-XChange »

You can use for this:
DoVerb(NULL, __S2BS(L"ExecuteCommand"), vDataIn(36338), NULL, 0);
// 36338 - unique ID of unnamed command, this command toggles 'Show Text' option in 'Comments View'.
// also
// 36335 - toggles 'Show Subjects' option.
// 36336 - toggles 'Show Authors' option.
// 36337 - toggles 'Show Dates' option.
// 36339 - toggles 'Show Colors' option.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
reinierkops
User
Posts: 93
Joined: Mon Jul 07, 2008 8:41 am

Re: Comment options

Post by reinierkops »

How can I turn on the option "Copy selected text into Highlight, Cross-Out, and Underline comment pop-ups" in the Commenting Options programmaticly?
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2449
Joined: Thu Jun 30, 2005 4:11 pm

Re: Comment options

Post by Vasyl - PDF-XChange »

You can use:
SetProperty("Commenting.CopySelTextToDrawingPopup", 1, 0);
SetProperty("Commenting.CopySelTextToHilightPopup", 1, 0);
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.