PdfPage.AddListBox Method (String, PdfRectangle)

Adds the new list box control with specified unique name to the PdfPage.

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

Syntax

C#
public PdfListBox AddListBox(
	string name,
	PdfRectangle boundingBox
)
VB
Public Function AddListBox ( 
	name As String,
	boundingBox As PdfRectangle
) As PdfListBox

Parameters

name
Type: System.String
The unique name of the list box control.
boundingBox
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The PdfRectangle structure that specifies the location and 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