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