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)
Syntaxpublic 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.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:
StringThe name of a basic button appearance that has been installed in the resources.
See Also