Click or drag to resize

PushButtonWidgetAnnotationMakeBasicAppearance 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.ResourceHandlingGlobalResources
The resource collection.
bounds
Type: Atalasoft.PdfDoc.GeometryPdfBounds
The bounds of the button..
app
Type: Atalasoft.PdfDoc.Generating.RenderingPdfTextAppearance
The appearance of the text in the button.
borderWidth
Type: SystemDouble
Width of the border.
outlineColor
Type: Atalasoft.PdfDoc.GeneratingIPdfColor
Color of the outline.
fillColor
Type: Atalasoft.PdfDoc.GeneratingIPdfColor
Color of the fill.
value
Type: SystemString
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