Back to Devexpress

PdfGraphicsAcroFormField.CreateComboBox(String, RectangleF) Method

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

latest1.7 KB
Original Source

PdfGraphicsAcroFormField.CreateComboBox(String, RectangleF) Method

Creates a combo box 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 PdfGraphicsAcroFormComboBoxField CreateComboBox(
    string name,
    RectangleF rect
)
vb
Public Shared Function CreateComboBox(
    name As String,
    rect As RectangleF
) As PdfGraphicsAcroFormComboBoxField

Parameters

NameTypeDescription
nameString

A name of a combo box field.

| | rect | RectangleF |

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

|

Returns

TypeDescription
PdfGraphicsAcroFormComboBoxField

The created combo box field.

|

See Also

PdfGraphicsAcroFormField Class

PdfGraphicsAcroFormField Members

DevExpress.Pdf Namespace