Method AddCheckBox
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddCheckBox(PdfPoint, double)
Adds the new check box control with auto-generated name to the PdfPage.
public PdfCheckBox AddCheckBox(PdfPoint position, double height)
Parameters
position
PdfPointThe position of the upper-left corner of the check box.
height
doubleThe height of the check box.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.
Remarks
AddCheckBox(PdfPoint, PdfSize, string)
Adds the new check box control with auto-generated name and caption to the PdfPage.
public PdfCheckBox AddCheckBox(PdfPoint position, PdfSize size, string caption)
Parameters
position
PdfPointThe position of the upper-left corner of the check box.
size
PdfSizeThe size of the check box with caption.
caption
stringThe check box caption.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.
Remarks
AddCheckBox(PdfRectangle)
Adds the new check box control with auto-generated name to the PdfPage.
public PdfCheckBox AddCheckBox(PdfRectangle boundingBox)
Parameters
boundingBox
PdfRectangleThe PdfRectangle structure that specifies the location and the size of the check box. Width of rectangle is not used - the check box area will be a square with a side equals to rectangle's height.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.
Remarks
AddCheckBox(PdfRectangle, string)
Adds the new check box control with auto-generated name and caption to the PdfPage.
public PdfCheckBox AddCheckBox(PdfRectangle boundingBox, string caption)
Parameters
boundingBox
PdfRectangleThe PdfRectangle structure that specifies the location and the size of the check box with caption.
caption
stringThe check box caption.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.
Remarks
AddCheckBox(double, double, double)
Adds the new check box control with auto-generated name to the PdfPage.
public PdfCheckBox AddCheckBox(double left, double top, double height)
Parameters
left
doubleThe x-coordinate of the upper-left corner of the check box.
top
doubleThe y-coordinate of the upper-left corner of the check box.
height
doubleThe height of the check box.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.
Remarks
AddCheckBox(double, double, double, double, string)
Adds the new check box control with auto-generated name and caption to the PdfPage.
public PdfCheckBox AddCheckBox(double left, double top, double width, double height, string caption)
Parameters
left
doubleThe x-coordinate of the upper-left corner of the check box.
top
doubleThe y-coordinate of the upper-left corner of the check box.
width
doubleThe width of the check box with caption.
height
doubleThe height of the check box.
caption
stringThe check box caption.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.
Remarks
AddCheckBox(string, PdfPoint, double)
Adds the new check box control with specified unique name to the PdfPage.
public PdfCheckBox AddCheckBox(string name, PdfPoint position, double height)
Parameters
name
stringThe unique name of the check box control.
position
PdfPointThe position of the upper-left corner of the check box.
height
doubleThe height of the check box.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.
Remarks
AddCheckBox(string, PdfPoint, PdfSize, string)
Adds the new check box control with specified unique name and caption to the PdfPage.
public PdfCheckBox AddCheckBox(string name, PdfPoint position, PdfSize size, string caption)
Parameters
name
stringThe unique name of the check box control.
position
PdfPointThe position of the upper-left corner of the check box.
size
PdfSizeThe size of the check box with caption.
caption
stringThe check box caption.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.
Remarks
AddCheckBox(string?, PdfRectangle)
Adds the new check box control with specified unique name to the PdfPage.
public PdfCheckBox AddCheckBox(string? name, PdfRectangle boundingBox)
Parameters
name
stringThe unique name of the check box control.
boundingBox
PdfRectangleThe PdfRectangle structure that specifies the location and the size of the check box. Width of rectangle is not used - the check box area will be a square with a side equals to rectangle's height.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.
Remarks
AddCheckBox(string?, PdfRectangle, string)
Adds the new check box control with specified unique name and caption to the PdfPage.
public PdfCheckBox AddCheckBox(string? name, PdfRectangle boundingBox, string caption)
Parameters
name
stringThe unique name of the check box control.
boundingBox
PdfRectangleThe PdfRectangle structure that specifies the location and the size of the check box with caption.
caption
stringThe check box caption.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.
Remarks
AddCheckBox(string?, double, double, double)
Adds the new check box control with specified unique name to the PdfPage.
public PdfCheckBox AddCheckBox(string? name, double left, double top, double height)
Parameters
name
stringThe unique name of the check box control.
left
doubleThe x-coordinate of the upper-left corner of the check box.
top
doubleThe y-coordinate of the upper-left corner of the check box.
height
doubleThe height of the check box.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.
Remarks
AddCheckBox(string?, double, double, double, double, string)
Adds the new check box control with specified unique name and caption to the PdfPage.
public PdfCheckBox AddCheckBox(string? name, double left, double top, double width, double height, string caption)
Parameters
name
stringThe unique name of the check box control.
left
doubleThe x-coordinate of the upper-left corner of the check box.
top
doubleThe y-coordinate of the upper-left corner of the check box.
width
doubleThe width of the check box with caption.
height
doubleThe height of the check box.
caption
stringThe check box caption.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.