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
positionPdfPointThe position of the upper-left corner of the check box.
heightdoubleThe 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
positionPdfPointThe position of the upper-left corner of the check box.
sizePdfSizeThe size of the check box with caption.
captionstringThe 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
boundingBoxPdfRectangleThe 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
boundingBoxPdfRectangleThe PdfRectangle structure that specifies the location and the size of the check box with caption.
captionstringThe 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
leftdoubleThe x-coordinate of the upper-left corner of the check box.
topdoubleThe y-coordinate of the upper-left corner of the check box.
heightdoubleThe 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
leftdoubleThe x-coordinate of the upper-left corner of the check box.
topdoubleThe y-coordinate of the upper-left corner of the check box.
widthdoubleThe width of the check box with caption.
heightdoubleThe height of the check box.
captionstringThe 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
namestringThe unique name of the check box control.
positionPdfPointThe position of the upper-left corner of the check box.
heightdoubleThe 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
namestringThe unique name of the check box control.
positionPdfPointThe position of the upper-left corner of the check box.
sizePdfSizeThe size of the check box with caption.
captionstringThe 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
namestringThe unique name of the check box control.
boundingBoxPdfRectangleThe 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
namestringThe unique name of the check box control.
boundingBoxPdfRectangleThe PdfRectangle structure that specifies the location and the size of the check box with caption.
captionstringThe 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
namestringThe unique name of the check box control.
leftdoubleThe x-coordinate of the upper-left corner of the check box.
topdoubleThe y-coordinate of the upper-left corner of the check box.
heightdoubleThe 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
namestringThe unique name of the check box control.
leftdoubleThe x-coordinate of the upper-left corner of the check box.
topdoubleThe y-coordinate of the upper-left corner of the check box.
widthdoubleThe width of the check box with caption.
heightdoubleThe height of the check box.
captionstringThe check box caption.
Returns
- PdfCheckBox
The newly created PdfCheckBox object.