Method AddComboBox
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddComboBox(PdfPoint, PdfSize)
Adds the new combo box control with auto-generated name to the PdfPage.
public PdfComboBox AddComboBox(PdfPoint position, PdfSize size)
Parameters
positionPdfPointThe position of the upper-left corner of the combo box.
sizePdfSizeThe size of the combo box.
Returns
- PdfComboBox
The newly created PdfComboBox object.
Remarks
AddComboBox(PdfRectangle)
Adds the new combo box control with auto-generated name to the PdfPage.
public PdfComboBox AddComboBox(PdfRectangle boundingBox)
Parameters
boundingBoxPdfRectangleThe PdfRectangle structure that specifies the location and the size of the combo box.
Returns
- PdfComboBox
The newly created PdfComboBox object.
Remarks
AddComboBox(double, double, double, double)
Adds the new combo box control with auto-generated name to the PdfPage.
public PdfComboBox AddComboBox(double left, double top, double width, double height)
Parameters
leftdoubleThe x-coordinate of the upper-left corner of the combo box.
topdoubleThe y-coordinate of the upper-left corner of the combo box.
widthdoubleThe width of the combo box.
heightdoubleThe height of the combo box.
Returns
- PdfComboBox
The newly created PdfComboBox object.
Remarks
AddComboBox(string, PdfPoint, PdfSize)
Adds the new combo box control with specified unique name to the PdfPage.
public PdfComboBox AddComboBox(string name, PdfPoint position, PdfSize size)
Parameters
namestringThe unique name of the combo box control.
positionPdfPointThe position of the upper-left corner of the combo box.
sizePdfSizeThe size of the combo box.
Returns
- PdfComboBox
The newly created PdfComboBox object.
Remarks
AddComboBox(string?, PdfRectangle)
Adds the new combo box control with specified unique name to the PdfPage.
public PdfComboBox AddComboBox(string? name, PdfRectangle boundingBox)
Parameters
namestringThe unique name of the combo box control.
boundingBoxPdfRectangleThe PdfRectangle structure that specifies the location and the size of the combo box.
Returns
- PdfComboBox
The newly created PdfComboBox object.
Remarks
AddComboBox(string?, double, double, double, double)
Adds the new combo box control with specified unique name to the PdfPage.
public PdfComboBox AddComboBox(string? name, double left, double top, double width, double height)
Parameters
namestringThe unique name of the combo box control.
leftdoubleThe x-coordinate of the upper-left corner of the combo box.
topdoubleThe y-coordinate of the upper-left corner of the combo box.
widthdoubleThe width of the combo box.
heightdoubleThe height of the combo box.
Returns
- PdfComboBox
The newly created PdfComboBox object.