Creates a list box field in PDF form

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public PdfFormListBox AddListBox(
	PdfPage pdfPage,
	RectangleF box,
	string[] items,
	PdfFont pdfFont
)
Visual Basic
Public Function AddListBox ( 
	pdfPage As PdfPage,
	box As RectangleF,
	items As String(),
	pdfFont As PdfFont
) As PdfFormListBox
Visual C++
public:
PdfFormListBox^ AddListBox(
	PdfPage^ pdfPage, 
	RectangleF box, 
	array<String^>^ items, 
	PdfFont^ pdfFont
)

Parameters

pdfPage
Type: EvoPdf..::..PdfPage
The PDF page in which to place the list box control
box
Type: System.Drawing..::..RectangleF
The list box control bounding box
items
Type: array<System..::..String>[]()[][]
The list box items
pdfFont
Type: EvoPdf..::..PdfFont
The list box items font

Return Value

Type: PdfFormListBox
The created list box field

See Also