Click or drag to resize

PushButtonWidgetAnnotation.MakeBasicAppearance Method

Makes the a basic button appearance, installs it in the resources and returns its name. This makes a simple round-cornered rectangle with the text centered in it.

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,
	PdfTextAppearance app,
	double borderWidth,
	IPdfColor outlineColor,
	IPdfColor fillColor,
	string value
)

Parameters

gr
Type: Atalasoft.PdfDoc.Generating.ResourceHandling.GlobalResources
The resource collection.
bounds
Type: Atalasoft.PdfDoc.Geometry.PdfBounds
The bounds of the button..
app
Type: Atalasoft.PdfDoc.Generating.Rendering.PdfTextAppearance
The appearance of the text in the button.
borderWidth
Type: System.Double
Width of the border.
outlineColor
Type: Atalasoft.PdfDoc.Generating.IPdfColor
Color of the outline.
fillColor
Type: Atalasoft.PdfDoc.Generating.IPdfColor
Color of the fill.
value
Type: System.String
The text label for the button.

Return Value

Type: String
The name of a basic button appearance that has been installed in the resources.
See Also