.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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

Declaration

public static PdfAcroFormListBoxField CreateListBox(
    string name,
    int pageNumber,
    PdfRectangle rect
)
Public Shared Function CreateListBox(
    name As String,
    pageNumber As Integer,
    rect As PdfRectangle
) As PdfAcroFormListBoxField
public static PdfAcroFormListBoxField CreateListBox(
    string name,
    int pageNumber,
    PdfRectangle rect
)
Public Shared Function CreateListBox(
    name As String,
    pageNumber As Integer,
    rect As PdfRectangle
) As PdfAcroFormListBoxField
public static PdfAcroFormListBoxField CreateListBox(
    string name,
    int pageNumber,
    PdfRectangle rect
)
Public Shared Function CreateListBox(
    name As String,
    pageNumber As Integer,
    rect As PdfRectangle
) As PdfAcroFormListBoxField

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.

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.

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.

Returns

Type Description
PdfAcroFormListBoxField

A PdfAcroFormListBoxField object that represents a created list box field.

Returns

Type Description
PdfAcroFormListBoxField

A PdfAcroFormListBoxField object that represents a created list box field.

See Also