Creates a text box form field in PDF form of the PDF document
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public PdfFormTextBox AddTextBox( PdfPage pdfPage, RectangleF box, string text, PdfFont pdfFont ) |
| Visual Basic |
|---|
Public Function AddTextBox ( pdfPage As PdfPage, box As RectangleF, text As String, pdfFont As PdfFont ) As PdfFormTextBox |
| Visual C++ |
|---|
public: PdfFormTextBox^ AddTextBox( PdfPage^ pdfPage, RectangleF box, String^ text, PdfFont^ pdfFont ) |
Parameters
- pdfPage
- Type: EvoPdf..::..PdfPage
The PDF page in which to place the text box control
- box
- Type: System.Drawing..::..RectangleF
The text box control bounding box
- text
- Type: System..::..String
The text box initial text
- pdfFont
- Type: EvoPdf..::..PdfFont
The text font
Return Value
Type: PdfFormTextBoxThe created text box field