Back to Devexpress

PdfWidgetFacade.BorderWidth Property

officefileapi-devexpress-dot-pdf-dot-pdfwidgetfacade-f4ce38c9.md

latest2.2 KB
Original Source

PdfWidgetFacade.BorderWidth Property

Specifies the form field widget’s border width.

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public double BorderWidth { get; set; }
vb
Public Property BorderWidth As Double

Property Value

TypeDescription
Double

The border width.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BorderWidth 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-change-pdf-form-field-parameters/CS/pdf-form-fields/Program.cs#L84

csharp
//For all form fields:
pdfWidget.BorderWidth = 1;
pdfWidget.BackgroundColor = new PdfRGBColor(0.81, 0.81, 0.81);

pdf-document-api-change-pdf-form-field-parameters/VB/pdf-form-fields/Program.vb#L63

vb
'For all form fields:
pdfWidget.BorderWidth = 1
pdfWidget.BackgroundColor = New PdfRGBColor(0.81, 0.81, 0.81)

See Also

PdfWidgetFacade Class

PdfWidgetFacade Members

DevExpress.Pdf Namespace