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_Caption

See Also Example
Collapse All

This property gets or sets the title (caption) of an annotation or button.

Syntax

BSTR PDFANNOTATION_Caption { get; set; }
Value
Title (caption) of an annotation or button

Remarks

This property contains text that appears as a button label or annotation title.

Equivalent in new interface: IPDFDocument4::SetAnnotCaption, IPDFDocument4::AnnotUnicodeCaption.

Example

Creating a Button

Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.PDFPAGE_CreateControl_Button('btn1', 10, 10, 110, 23);
PDF.PDFANNOTATION_Caption := 'Caption';
PDF.EndDoc;
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->BeginDoc();
PDF->PDFPAGE_CreateControl_Button("btn1", 10, 10, 110, 23);
PDF->PDFANNOTATION_Caption = "Caption";
PDF->EndDoc();
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.BeginDoc();
PDF.PDFPAGE_CreateControl_Button("btn1", 10, 10, 110, 23);
PDF.PDFANNOTATION_Caption = "Caption";
PDF.EndDoc();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created
PDF.BeginDoc
PDF.PDFPAGE_CreateControl_Button "btn1", 10, 10, 110, 23
PDF.PDFANNOTATION_Caption = "Caption"
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