PdfPage.AddListBox Method (String, PdfPoint, PdfSize)

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,
	PdfPoint position,
	PdfSize size
)
VB
Public Function AddListBox ( 
	name As String,
	position As PdfPoint,
	size As PdfSize
) As PdfListBox

Parameters

name
Type: System.String
The unique name of the list box control.
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