Method AddTextBox
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddTextBox(PdfPoint, PdfSize)
Adds the new text box control with auto-generated name to the PdfPage.
public PdfTextBox AddTextBox(PdfPoint position, PdfSize size)
Parameters
position
PdfPointThe position of the upper-left corner of the text box.
size
PdfSizeThe size of the text box.
Returns
- PdfTextBox
The newly created PdfTextBox object.
Remarks
AddTextBox(PdfRectangle)
Adds the new text box control with auto-generated name to the PdfPage.
public PdfTextBox AddTextBox(PdfRectangle boundingBox)
Parameters
boundingBox
PdfRectangleThe PdfRectangle structure that specifies the location and the size of the text box.
Returns
- PdfTextBox
The newly created PdfTextBox object.
Remarks
AddTextBox(double, double, double, double)
Adds the new text box control with auto-generated name to the PdfPage.
public PdfTextBox AddTextBox(double left, double top, double width, double height)
Parameters
left
doubleThe x-coordinate of the upper-left corner of the text box.
top
doubleThe y-coordinate of the upper-left corner of the text box.
width
doubleThe width of the text box.
height
doubleThe height of the text box.
Returns
- PdfTextBox
The newly created PdfTextBox object.
Remarks
AddTextBox(string, PdfPoint, PdfSize)
Adds the new text box control with specified unique name to the PdfPage.
public PdfTextBox AddTextBox(string name, PdfPoint position, PdfSize size)
Parameters
name
stringThe unique name of the text box control.
position
PdfPointThe position of the upper-left corner of the text box.
size
PdfSizeThe size of the text box.
Returns
- PdfTextBox
The newly created PdfTextBox object.
Remarks
AddTextBox(string?, PdfRectangle)
Adds the new text box control with specified unique name to the PdfPage.
public PdfTextBox AddTextBox(string? name, PdfRectangle boundingBox)
Parameters
name
stringThe unique name of the text box control.
boundingBox
PdfRectangleThe PdfRectangle structure that specifies the location and the size of the text box.
Returns
- PdfTextBox
The newly created PdfTextBox object.
Remarks
AddTextBox(string?, double, double, double, double)
Adds the new text box control with specified unique name to the PdfPage.
public PdfTextBox AddTextBox(string? name, double left, double top, double width, double height)
Parameters
name
stringThe unique name of the text box control.
left
doubleThe x-coordinate of the upper-left corner of the text box.
top
doubleThe y-coordinate of the upper-left corner of the text box.
width
doubleThe width of the text box.
height
doubleThe height of the text box.
Returns
- PdfTextBox
The newly created PdfTextBox object.