Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfAcroFormField.CreateTextBox(String, Int32, PdfRectangle) Method

Creates a text box field using the field name, page number, and a rectangle where a text box field will be located on a page.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.2.Core.dll

NuGet Package: DevExpress.Pdf.Core

#Declaration

public static PdfAcroFormTextBoxField CreateTextBox(
    string name,
    int pageNumber,
    PdfRectangle rect
)

#Parameters

Name Type Description
name String

A String that specifies the name of a text 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 text box field is located on a page.

#Returns

Type Description
PdfAcroFormTextBoxField

A PdfAcroFormTextBoxField object that represents a created text box field.

See Also