Skip to main content
.NET Framework 4.5.2+

PdfGraphicsAcroFormChoiceField.SetSelected(Int32, Boolean) Method

Selects or unselects an item in a combo box of a list box field by its index.

Namespace: DevExpress.Pdf

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

NuGet Package: DevExpress.Pdf.Drawing

Declaration

public void SetSelected(
    int index,
    bool value
)

Parameters

Name Type Description
index Int32

The zero-based index of the item that should be selected or unselected.

value Boolean

true, to select the item; false to unselect the item.

Remarks

Call the ClearSelection() method to clear selection in the form field.

See Also