TextAnnotation Constructor

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the TextAnnotation 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 TextAnnotation(
	double x,
	double y,
	AnnotationFlags flags = AnnotationFlags.Default
)

Parameters

x
Type: SystemDouble
The x coordinate.
y
Type: SystemDouble
The y coordinate.
flags (Optional)
Type: Apitron.PDF.Kit.Interactive.AnnotationsAnnotationFlags
The flags.
Examples

C#
TextAnnotation textAnnotation = new TextAnnotation(10, 10);
textAnnotation.Contents = "Hello World !!!";
textAnnotation.IsOpen = true;
page.Annotations.Add(textAnnotation);
See Also

Reference