Back to Devexpress

PdfGraphicsAcroFormField.CreateListBox(String, RectangleF) Method

officefileapi-devexpress-dot-pdf-dot-pdfgraphicsacroformfield-dot-createlistbox-x28-system-dot-string-system-dot-drawing-dot-rectanglef-x29.md

latest1.7 KB
Original Source

PdfGraphicsAcroFormField.CreateListBox(String, RectangleF) Method

Creates a list box field with the specified name in the target page area.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Drawing.dll

NuGet Package : DevExpress.Pdf.Drawing

Declaration

csharp
public static PdfGraphicsAcroFormListBoxField CreateListBox(
    string name,
    RectangleF rect
)
vb
Public Shared Function CreateListBox(
    name As String,
    rect As RectangleF
) As PdfGraphicsAcroFormListBoxField

Parameters

NameTypeDescription
nameString

A name of a list box field.

| | rect | RectangleF |

A page rectangle in the word coordinate system where you can draw a form field.

|

Returns

TypeDescription
PdfGraphicsAcroFormListBoxField

The created list box field.

|

See Also

PdfGraphicsAcroFormField Class

PdfGraphicsAcroFormField Members

DevExpress.Pdf Namespace