Click or drag to resize

PdfListBoxControl Constructor

Create a new listbox control and assign it to the specified field.

Namespace:  Patagames.Pdf.Net.AcroForms
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.57.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.57.2704
Syntax
public PdfListBoxControl(
	PdfListBoxField field,
	PdfPage page,
	FS_RECTF rect,
	Nullable<FS_COLOR> borderColor = null,
	Nullable<FS_COLOR> backgroundColor = null,
	Nullable<FS_COLOR> textColor = null,
	PageRotate rotation = PageRotate.Normal,
	JustifyTypes alignment = JustifyTypes.Left,
	float borderWidth = 1f,
	BorderStyles borderStyle = BorderStyles.Solid,
	float[] dashPattern = null
)

Parameters

field
Type: Patagames.Pdf.Net.AcroFormsPdfListBoxField
The field to which this control is assigned./>
page
Type: Patagames.Pdf.NetPdfPage
The page that will host this control.
rect
Type: Patagames.PdfFS_RECTF
The area on the page where this control should be placed.
borderColor (Optional)
Type: SystemNullableFS_COLOR
The border color of this control.
backgroundColor (Optional)
Type: SystemNullableFS_COLOR
The background color of the control.
textColor (Optional)
Type: SystemNullableFS_COLOR
The color of the text inside this control.
rotation (Optional)
Type: Patagames.Pdf.EnumsPageRotate
A value indicating how the control is rotated counterclockwise relative to the page.
alignment (Optional)
Type: Patagames.Pdf.EnumsJustifyTypes
A code specifying the form of quadding (justification) to be used in displaying the text.
borderWidth (Optional)
Type: SystemSingle
The border width in points.
borderStyle (Optional)
Type: Patagames.Pdf.EnumsBorderStyles
The border style.
dashPattern (Optional)
Type: SystemSingle
An array defining a pattern of dashes and gaps to be used in drawing a dashed border. The dash array is specified in the same format as in the line dash pattern parameter of the graphics state. The dash phase is not specified and is assumed to be 0. For example, a DashPattern property of[3 2] specifies a border drawn with 3-point dashes alternating with 2-point gaps.
See Also