Can PXCp_SetAnnotsInfo be used to set the 'Locked' property?

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Andrew - Tracker Support, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators

Post Reply
docu-track99
User
Posts: 495
Joined: Thu Dec 06, 2007 8:13 pm

Can PXCp_SetAnnotsInfo be used to set the 'Locked' property?

Post by docu-track99 » Wed May 28, 2008 2:31 pm

Hello,

Is it possible to use the 'PXCp_SetAnnotsInfo' to set the 'Locked' property of an annotation to true.
I can't seem to find anything in the help files or samples that illustrates or mentions this specific property.
If it is possible could you provide a brief vb6 example on how this might be done?

Thanks in advance for your help.

Lzcat - Tracker Supp
Site Admin
Posts: 712
Joined: Thu Jun 28, 2007 8:42 am

Re: Can PXCp_SetAnnotsInfo be used to set the 'Locked' property?

Post by Lzcat - Tracker Supp » Thu May 29, 2008 5:03 pm

This is detailed in the help file, looks like you missed it - there is required link in PXCp_SetAnnotsInfo description :wink: Please see PXC_CommonAnnotInfo structure description, flag AF_Locked. Also, there is sample code (C++) in the help file, illustrating how PXCp_SetAnnotsInfo should be called.

But note that this will applay only to newly added annots, not for existing.
Victor
Tracker Software
Project manager

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

Post Reply