Back to Devexpress

PdfAcroFormField.CreateListBox(String, Int32, PdfRectangle) Method

officefileapi-devexpress-dot-pdf-dot-pdfacroformfield-dot-createlistbox-x28-system-dot-string-system-dot-int32-devexpress-dot-pdf-dot-pdfrectangle-x29.md

latest2.1 KB
Original Source

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

NuGet Package : DevExpress.Pdf.Core

Declaration

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

Parameters

NameTypeDescription
nameString

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

TypeDescription
PdfAcroFormListBoxField

A PdfAcroFormListBoxField object that represents a created list box field.

|

See Also

PdfAcroFormField Class

PdfAcroFormField Members

DevExpress.Pdf Namespace