Adds the new text box control with specified unique name to the PdfPage.

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

Syntax

C#
public PdfTextBox AddTextBox(
	string name,
	PointF position,
	SizeF size
)
VB
Public Function AddTextBox ( 
	name As String,
	position As PointF,
	size As SizeF
) As PdfTextBox

Parameters

name
Type: System.String
The unique name of the text box control.
position
Type: System.Drawing.PointF
The position of the upper-left corner of the text box.
size
Type: System.Drawing.SizeF
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