Page 1 of 1

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

Posted: Wed May 28, 2008 2:31 pm
by docu-track99
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.

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

Posted: Thu May 29, 2008 5:03 pm
by Lzcat - Tracker Supp
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.