RubberStampAnnotation 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 RubberStampAnnotation(
	Boundary boundary,
	AnnotationFlags flags = AnnotationFlags.Default,
	AnnotationBorderStyle borderStyle = null
)

Parameters

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

C#
RubberStampAnnotation rubberStampAnnotation = new RubberStampAnnotation(new Boundary(8, 8, 200, 150));
rubberStampAnnotation.Contents = "Hello World !!!";
rubberStampAnnotation.Color = new double[] { 1, 0, 1 };
rubberStampAnnotation.Icon = AnnotationIconNames.TopSecret;
page.Annotations.Add(rubberStampAnnotation);
See Also

Reference