CaretAnnotation Constructor

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the Object class.

Namespace:  Apitron.PDF.Kit.Interactive.Annotations
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public CaretAnnotation(
	Boundary boundary
)

Parameters

boundary
Type: Apitron.PDF.Kit.FixedLayoutBoundary
The boundary.
Examples

CaretAnnotation caretAnnotation = new CaretAnnotation(new Boundary(8, 8, 28, 22));
caretAnnotation.Contents = "Hello World!!!";
caretAnnotation.Color = new double[] {1, 0, 1};
caretAnnotation.IsNewParagraph = true;
page.Annotations.Add(caretAnnotation);
See Also

Reference