Click or drag to resize

RedactionProposalAnnotationMakeBasicAppearance Method

Makes the basic appearance for the annotation. Unlike CheckboxWidgetAnnotation, TextWidgetAnnotation can't easily share the same appearance since appearances are geometrically scaled to fit the bounds of the annotation. This means that border outlines will grow or shrink when drawn. When the Bounds of the annotation change, the appearance needs to be rebuilt in order to render correctly in the document. This method is provided so that, for example, client code might add in custom coloring or easily build consistent appearances for when the annotation has been cliecked on or when it is rolled over.

Namespace:  Atalasoft.PdfDoc.Generating.Annotations
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public static string MakeBasicAppearance(
	GlobalResources gr,
	PdfBounds bounds,
	PdfQuadrilateralCollection quads,
	double borderWidth,
	IPdfColor outlineColor
)

Parameters

gr
Type: Atalasoft.PdfDoc.Generating.ResourceHandlingGlobalResources
The resources that will hold the appearance.
bounds
Type: Atalasoft.PdfDoc.GeometryPdfBounds
The bounds of the annotation.
quads
Type: Atalasoft.PdfDoc.GeometryPdfQuadrilateralCollection
An optionally empty or null collection of quadrilaterals to be marked.
borderWidth
Type: SystemDouble
Width of the border.
outlineColor
Type: Atalasoft.PdfDoc.GeneratingIPdfColor
Color of the outline.

Return Value

Type: String
A string which is the name of an template resource that will represent the annotation's appearance.
See Also