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
)
Public Shared Function MakeBasicAppearance (
gr As GlobalResources,
bounds As PdfBounds,
app As PdfTextAppearance,
borderWidth As Double,
outlineColor As IPdfColor,
fillColor As IPdfColor,
value As String
) As String
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:
StringThe name of a basic button appearance that has been installed in the resources.
See Also