SquareAnnotation Constructor

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the SquareAnnotation 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 SquareAnnotation(
	Boundary boundary,
	AnnotationFlags flags,
	AnnotationBorderStyle borderStyle
)

Parameters

boundary
Type: Apitron.PDF.Kit.FixedLayoutBoundary
The annotation boundary.
flags
Type: Apitron.PDF.Kit.Interactive.AnnotationsAnnotationFlags
The flags.
borderStyle
Type: Apitron.PDF.Kit.Interactive.AnnotationsAnnotationBorderStyle
The border style.
Examples

C#
SquareAnnotation squareAnnotation = new SquareAnnotation(new Boundary(10, 200, 100, 300), AnnotationFlags.Locked, new AnnotationBorderStyle(6, AnnotationBorderType.Underline));
page.Annotations.Add(squareAnnotation);
See Also

Reference