Adds the new text box control with auto-generated name to the PdfPage.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfTextBox AddTextBox(
	RectangleF boundingBox
)
VB
Public Function AddTextBox ( 
	boundingBox As RectangleF
) As PdfTextBox

Parameters

boundingBox
Type: System.Drawing.RectangleF
The RectangleF structure that specifies the location and the size of the text box.

Return Value

Type: PdfTextBox
The newly created PdfTextBox object.

Remarks

The Rotation of the new text box is set to the rotation (PdfPage.Rotation) of the owner page.

See Also