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

Parameters

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

C#
RedactionAnnotation redactionAnnotation = new RedactionAnnotation(new Boundary(100, 20, 400, 40));
redactionAnnotation.OverlayText = "This is redaction";

redactionAnnotation.QuaddingJustification = QuaddingJustification.Centered;
redactionAnnotation.Repeat = true;

page.Annotations.Add(redactionAnnotation);
See Also

Reference