Back to Devexpress

PdfGraphicsAcroFormCheckBoxField.ButtonStyle Property

officefileapi-devexpress-dot-pdf-dot-pdfgraphicsacroformcheckboxfield-8c392792.md

latest2.7 KB
Original Source

PdfGraphicsAcroFormCheckBoxField.ButtonStyle Property

Specifies the shape of the marker that appears inside a check box when a user selects it.

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Drawing

Declaration

csharp
public PdfAcroFormButtonStyle ButtonStyle { get; set; }
vb
Public Property ButtonStyle As PdfAcroFormButtonStyle

Property Value

TypeDescription
PdfAcroFormButtonStyle

An enumeration value that indicates the check box marker shape.

|

Available values:

NameDescription
Circle

Circle button style.

| | Check |

Check button style.

| | Star |

Star button style.

| | Cross |

Cross button style.

| | Diamond |

Diamond button style.

| | Square |

Square button style.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ButtonStyle 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#L33

csharp
checkBox.IsChecked = true;
checkBox.ButtonStyle = PdfAcroFormButtonStyle.Star;

pdf-document-api-create-check-box-field/VB/AddCheckBoxField/Program.vb#L31

vb
checkBox.IsChecked = True
checkBox.ButtonStyle = PdfAcroFormButtonStyle.Star
' Add the field to the document.

See Also

PdfGraphicsAcroFormCheckBoxField Class

PdfGraphicsAcroFormCheckBoxField Members

DevExpress.Pdf Namespace