Rotating annotation

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

TatianaS
User
Posts: 103
Joined: Mon Mar 18, 2013 4:26 pm

Rotating annotation

Post by TatianaS »

hello,
I have an annotation which should not be rotated when a page is rotated.
What would be the best way to accomplish that?

Also, I noticed that page rotation property is always 0, even after I rotate a page:
fCoPDFXCview.GetDocumentProperty(activeDocID, 'Pages[0].Rotation', dataOut, 0);
Is there some other call I can use to get page orientation?

Thanks,
Tatiana
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: Rotating annotation

Post by Ivan - Tracker Software »

Not all annotation supports NoRotate flag and there are way to set this flag programaticaly in the SDK.
Also, I noticed that page rotation property is always 0, even after I rotate a page:
fCoPDFXCview.GetDocumentProperty(activeDocID, 'Pages[0].Rotation', dataOut, 0);
Is there some other call I can use to get page orientation?
There is also "View rotation" which does not modify document but allows to specify to render all pages in document using additional rotation (0, 90, 180, 270).
To get this property please use:

Code: Select all

fCoPDFXCview.GetDocumentProperty(activeDocID, 'Pages.DisplayRotation', dataOut, 0);
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
TatianaS
User
Posts: 103
Joined: Mon Mar 18, 2013 4:26 pm

Re: Rotating annotation

Post by TatianaS »

Thanks,
How can I set NoRotate flag? I am using a simple rectangle annotation
TatianaS
User
Posts: 103
Joined: Mon Mar 18, 2013 4:26 pm

Re: Rotating annotation

Post by TatianaS »

Could you please help me with how can I set NoRotate flag? I am using a simple rectangle annotation
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm

Re: Rotating annotation

Post by Will - Tracker Supp »

Hi Tatiana,

Thanks for the post - I'm afraid that the Developer best suited to this question is off ill, but I will forward on the post and he will answer as soon as he is able.

Thanks, we appreciate your patience and understanding here!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com