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
position
PdfPointThe position of the upper-left corner of the list box.
size
PdfSizeThe 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
boundingBox
PdfRectangleThe 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
left
doubleThe x-coordinate of the upper-left corner of the list box.
top
doubleThe y-coordinate of the upper-left corner of the list box.
width
doubleThe width of the list box.
height
doubleThe 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
name
stringThe unique name of the list box control.
position
PdfPointThe position of the upper-left corner of the list box.
size
PdfSizeThe 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
name
stringThe unique name of the list box control.
boundingBox
PdfRectangleThe 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
name
stringThe unique name of the list box control.
left
doubleThe x-coordinate of the upper-left corner of the list box.
top
doubleThe y-coordinate of the upper-left corner of the list box.
width
doubleThe width of the list box.
height
doubleThe height of the list box.
Returns
- PdfListBox
The newly created PdfListBox object.