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

NuGet Package: DevExpress.Pdf.Core

Declaration

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

Parameters

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.

Returns

Type Description
PdfAcroFormListBoxField

A PdfAcroFormListBoxField object that represents a created list box field.

See Also