Skip to main content

PdfAcroFormField.CreateListBox(String, Int32, PdfRectangle) Method

Creates a list box field using the field name, page number and a rectangle where the list box field will be located on a page.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.1.Core.dll

NuGet Package: DevExpress.Pdf.Core


public static PdfAcroFormListBoxField CreateListBox(
    string name,
    int pageNumber,
    PdfRectangle rect


Name Type Description
name String

A String that specifies the name of a list box field.

pageNumber Int32

An integer value that specifies the page number where the form field will be created.

rect PdfRectangle

A PdfRectangle object that represents a rectangle inside which a list box field is located on a page.


Type Description

A PdfAcroFormListBoxField object that represents a created list box field.

See Also