Back to Devexpress

PdfGraphicsAcroFormField.CreateTextBox(String, RectangleF) Method

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

latest1.8 KB
Original Source

PdfGraphicsAcroFormField.CreateTextBox(String, RectangleF) Method

Creates a text 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 PdfGraphicsAcroFormTextBoxField CreateTextBox(
    string name,
    RectangleF rect
)
vb
Public Shared Function CreateTextBox(
    name As String,
    rect As RectangleF
) As PdfGraphicsAcroFormTextBoxField

Parameters

NameTypeDescription
nameString

A String that specifies the name of a text box field.

| | rect | RectangleF |

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

|

Returns

TypeDescription
PdfGraphicsAcroFormTextBoxField

The created text box field.

|

See Also

PdfGraphicsAcroFormField Class

PdfGraphicsAcroFormField Members

DevExpress.Pdf Namespace