Components for Developers
© 2000-2008, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Annotations
PDFANNOTATION_Flags_afNoRotate

See Also Example
Collapse All

Gets or sets value indicating if the annotation is rotated.

Syntax

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

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2008, Two Pilots