Click or drag to resize

PdfRadioButtonControl Constructor

Create a new radiobutton 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 PdfRadioButtonControl(
	PdfRadioButtonField field,
	PdfPage page,
	FS_RECTF rect,
	CheckboxCaptions icon = CheckboxCaptions.Circle,
	Nullable<FS_COLOR> borderColor = null,
	Nullable<FS_COLOR> backgroundColor = null,
	Nullable<FS_COLOR> iconColor = null,
	FormHighlightingMode highlightingMode = FormHighlightingMode.Invert,
	PageRotate rotation = PageRotate.Normal,
	float borderWidth = 1f,
	BorderStyles borderStyle = BorderStyles.Solid,
	float[] dashPattern = null
)

Parameters

field
Type: Patagames.Pdf.Net.AcroFormsPdfRadioButtonField
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.
icon (Optional)
Type: Patagames.Pdf.EnumsCheckboxCaptions
The appearance of an icon that indicates the checked state of this control.
borderColor (Optional)
Type: SystemNullableFS_COLOR
The border color of this control.
backgroundColor (Optional)
Type: SystemNullableFS_COLOR
The background color of the control.
iconColor (Optional)
Type: SystemNullableFS_COLOR
The color of the control’s icon.
highlightingMode (Optional)
Type: Patagames.Pdf.EnumsFormHighlightingMode
The control’s highlighting mode, the visual effect to be used when the mouse button is pressed or held down inside its active area.
rotation (Optional)
Type: Patagames.Pdf.EnumsPageRotate
A value indicating how the control is rotated counterclockwise relative to the page.
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