Skip to main content

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.v23.2.Drawing.dll

NuGet Package: DevExpress.Pdf.Drawing


public void SetSelected(
    int index,
    bool value


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.


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

See Also