PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllGets or sets value indicating if the annotation is rotated.
|
| VARIANT_BOOL PDFANNOTATION_Flags_afNoRotate { get; set; } |
Value
VARIANT_TRUE if the control is not rotated to match the rotation of the page, VARIANT_FALSE otherwise.
Remarks
If set to TRUE, do not rotate the annotation's appearance to match the rotation of the page. The upper-left corner of the annotation's bounding box remains in a fixed location on the page, regardless of the page rotation.
Example
Changing annotation's flags
Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.PDFPAGE_SetAnnotation(100, 200, 110, 210, 'Title', 'Here goes annotation contents...', 255, false, false, false, false, false, false, false, false, charsetANSI_CHARSET);
PDF.PDFANNOTATION_Flags_afNoRotate := true;
PDF.EndDoc;
C/C++
[copy to clipboard]
// PDF object is supposed to be created PDF->BeginDoc(); PDF->PDFPAGE_SetAnnotation(100, 200, 110, 210, "Title", "Here goes annotation contents...", 255, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, charsetANSI_CHARSET); PDF->PDFANNOTATION_Flags_afNoRotate = TRUE; PDF->EndDoc();
C#
[copy to clipboard]
// PDF object is supposed to be created PDF.BeginDoc(); PDF.PDFPAGE_SetAnnotation(100, 200, 110, 210, "Title", "Here goes annotation contents...", 255, false, false, false, false, false, false, false, false, TxFontCharset.charsetANSI_CHARSET); PDF.PDFANNOTATION_Flags_afNoRotate = true; PDF.EndDoc();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_SetAnnotation 100, 200, 110, 210, "Title", "Here goes annotation contents...", 255, false, false, false, false, false, false, false, false, 0 PDF.PDFANNOTATION_Flags_afHNoRotate = True PDF.EndDoc
See Also


