Components for Developers
© 2000-2012, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Annotations
PDFANNOTATION_TextAnnotationIcon

See Also Example
Collapse All

This property gets or sets the style of an annotation icon.

Syntax

TxTextAnnotationIcon PDFANNOTATION_TextAnnotationIcon { get; set; }
Value
One of the TxTextAnnotationIcon values

Remarks

This property sets the style of the icon to be displayed for a text annotation.

Equivalent in new interface: IPDFDocument4::TextAnnotIcon.

Example

Creating a Text Annotation

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, true, true, charsetANSI_CHARSET);
PDF.PDFANNOTATION_TextAnnotationIcon := taiHelp;
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, TRUE, TRUE, charsetANSI_CHARSET);
PDF->PDFANNOTATION_TextAnnotationIcon = taiHelp;
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, true, true, TxFontCharset.charsetANSI_CHARSET);
PDF.PDFANNOTATION_TextAnnotationIcon = TxTextAnnotationIcon.taiHelp;
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, true, true, 0
PDF.PDFANNOTATION_TextAnnotationIcon = 3 'taiHelp
PDF.EndDoc

See Also

Reference

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2012, Two Pilots