PDFANNOTATION_Box_X
IPDFDocument3 :: Annotations

See Also Example
Collapse All

This property gets or sets the top-left corner x-coordinate of the annotation area.

Syntax

DOUBLE PDFANNOTATION_Box_X { get; set; }
Value
X-coordinate of the top-left cornerĀ of the annotation area

Remarks

Equivalent in new interface: IPDFDocument4::AnnotLeft.

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

Reference