Back to Devexpress

PdfAcroFormFieldAppearance.BorderAppearance Property

officefileapi-devexpress-dot-pdf-dot-pdfacroformfieldappearance.md

latest2.8 KB
Original Source

PdfAcroFormFieldAppearance.BorderAppearance Property

Specifies the border appearance settings for an interactive form field.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public PdfAcroFormBorderAppearance BorderAppearance { get; set; }
vb
Public Property BorderAppearance As PdfAcroFormBorderAppearance

Property Value

TypeDescription
PdfAcroFormBorderAppearance

A PdfAcroFormBorderAppearance object that specifies the border appearance for the interactive form field. The default value is null (a border is not displayed in a form field).

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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-add-interactive-form-fields/CS/AddFormFieldsToExistingDocument/Program.cs#L30

csharp
radioGroup.SelectedIndex = 0;
radioGroup.Appearance.BorderAppearance = new PdfAcroFormBorderAppearance() { Color = new PdfRGBColor(0.8, 0.5, 0.3), Width = 3 };

pdf-document-api-add-interactive-form-fields/VB/AddFormFieldsToExistingDocument/Program.vb#L25

vb
radioGroup.SelectedIndex = 0
radioGroup.Appearance.BorderAppearance = New PdfAcroFormBorderAppearance() With {.Color = New PdfRGBColor(0.8, 0.5, 0.3), .Width = 3}
' Add form fields to the page.

See Also

PdfAcroFormFieldAppearance Class

PdfAcroFormFieldAppearance Members

DevExpress.Pdf Namespace