PdfPage.AddListBox Method (PdfPoint, PdfSize)

Adds the new list box control with auto-generated name to the PdfPage.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfListBox AddListBox(
	PdfPoint position,
	PdfSize size
)
VB
Public Function AddListBox ( 
	position As PdfPoint,
	size As PdfSize
) As PdfListBox

Parameters

position
Type: BitMiracle.Docotic.Pdf.PdfPoint
The position of the upper-left corner of the list box.
size
Type: BitMiracle.Docotic.Pdf.PdfSize
The size of the list box.

Return Value

Type: PdfListBox
The newly created PdfListBox object.

Remarks

The Rotation of the new list box is set to the rotation (Rotation) of the owner page.

See Also