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(
	PointF position,
	SizeF size
)
VB
Public Function AddListBox ( 
	position As PointF,
	size As SizeF
) As PdfListBox

Parameters

position
Type: System.Drawing.PointF
The position of the upper-left corner of the list box.
size
Type: System.Drawing.SizeF
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 (PdfPage.Rotation) of the owner page.

See Also