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_Box_W

See Also Example
Collapse All

This property gets or sets the width of the annotation area.

Syntax

DOUBLE PDFANNOTATION_Box_W { get; set; }
Value
Width of the annotation area

Remarks

Equivalent in new interface: IPDFDocument4::AnnotWidth.

Example

Changing Location and Size of an Annotation

Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.PDFPAGE_CreateControl_Edit('edt1', 200, 200, 310, 223);
PDF.PDFANNOTATION_Text := 'Text';
PDF.PDFANNOTATION_Box_X := 10;
PDF.PDFANNOTATION_Box_Y := 10;
PDF.PDFANNOTATION_Box_W := 100;
PDF.PDFANNOTATION_Box_H := 13;
PDF.EndDoc;
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->BeginDoc();
PDF->PDFPAGE_CreateControl_Edit("edt1", 200, 200, 310, 223);
PDF->PDFANNOTATION_Text = "Text";
PDF->PDFANNOTATION_Box_X = 10;
PDF->PDFANNOTATION_Box_Y = 10;
PDF->PDFANNOTATION_Box_W = 100;
PDF->PDFANNOTATION_Box_H = 13;
PDF->EndDoc();
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.BeginDoc();
PDF.PDFPAGE_CreateControl_Edit("edt1", 200, 200, 310, 223);
PDF.PDFANNOTATION_Text = "Text";
PDF.PDFANNOTATION_Box_X = 10;
PDF.PDFANNOTATION_Box_Y = 10;
PDF.PDFANNOTATION_Box_W = 100;
PDF.PDFANNOTATION_Box_H = 13;
PDF.EndDoc();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created
PDF.BeginDoc
PDF.PDFPAGE_CreateControl_Edit "edt1", 200, 200, 310, 223
PDF.PDFANNOTATION_Text = "Text"
PDF.PDFANNOTATION_Box_X = 10
PDF.PDFANNOTATION_Box_Y = 10
PDF.PDFANNOTATION_Box_W = 100
PDF.PDFANNOTATION_Box_H = 13
PDF.EndDoc

See Also

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