officefileapi-devexpress-dot-pdf-dot-pdfgraphicsacroformfieldappearance-487ca6bf.md
Specifies the border appearance settings for an interactive form field.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Drawing.dll
NuGet Package : DevExpress.Pdf.Drawing
public PdfGraphicsAcroFormBorderAppearance BorderAppearance { get; set; }
Public Property BorderAppearance As PdfGraphicsAcroFormBorderAppearance
| Type | Description |
|---|---|
| PdfGraphicsAcroFormBorderAppearance |
An object that contains border appearance parameters.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the BorderAppearance property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
pdf-document-api-create-check-box-field/CS/AddCheckBoxField/Program.cs#L31
checkBox.Appearance.BackgroundColor = Color.Azure;
checkBox.Appearance.BorderAppearance = new PdfGraphicsAcroFormBorderAppearance() { Color = Color.Red };
checkBox.IsChecked = true;
pdf-document-api-create-radio-button-group-field/CS/AddRadioButtonField/Program.cs#L40
radioGroup.Appearance.BackgroundColor = Color.Aqua;
radioGroup.Appearance.BorderAppearance = new PdfGraphicsAcroFormBorderAppearance() { Color = Color.Red, Width = 3 };
pdf-document-api-create-interactive-form/CS/AddFormFieldsToNewDocument/Program.cs#L49
radioGroup.SelectedIndex = 0;
radioGroup.Appearance.BorderAppearance = new PdfGraphicsAcroFormBorderAppearance() { Color = Color.Red, Width = 3 };
pdf-document-api-create-check-box-field/VB/AddCheckBoxField/Program.vb#L29
checkBox.Appearance.BackgroundColor = Color.Azure
checkBox.Appearance.BorderAppearance = New PdfGraphicsAcroFormBorderAppearance() With {.Color = Color.Red}
checkBox.IsChecked = True
pdf-document-api-create-radio-button-group-field/VB/AddRadioButtonField/Program.vb#L35
radioGroup.Appearance.BackgroundColor = Color.Aqua
radioGroup.Appearance.BorderAppearance = New PdfGraphicsAcroFormBorderAppearance() With {.Color = Color.Red, .Width = 3}
' Add the field to graphics.
pdf-document-api-create-interactive-form/VB/AddFormFieldsToNewDocument/Program.vb#L41
radioGroup.SelectedIndex = 0
radioGroup.Appearance.BorderAppearance = New PdfGraphicsAcroFormBorderAppearance() With {.Color = Color.Red, .Width = 3}
' Add the radio group field to graphics.
See Also
PdfGraphicsAcroFormFieldAppearance Class