PDFVisualRadioButtonField¶
Namespace: O2S.Components.PDF4NET.View.Forms
Defines a radiobutton field that is displayed in a PDFDocumentView control.
Inheritance Object → PDFVisualField → PDFVisualRadioButtonField
Constructors¶
PDFVisualRadioButtonField(PDFRadioButtonField)¶
Initializes a new PDFVisualCheckBoxField object.
Parameters
field PDFRadioButtonField
The underlying field object.
Properties¶
AlternateName¶
Gets or sets the field alternate name.
Property Value
String
An alternate field name that shall be used in place of the actual field name
wherever the field shall be identified in the user interface.
CalculateAction¶
Gets or sets the calculate action.
Property Value
PDFJavaScriptAction
A that shall be performed to recalculate the value
of this field when that of another field changes.
Checked¶
Gets or set a value indicating whether the radiobutton is in the checked state.
Property Value
Boolean
True if the radiobutton is in the checked state; otherwise, false.
DefaultValue¶
Gets or sets the field default value.
Property Value
Object
The field's default value.
Export¶
Gets or sets a value indicating whether the field can be exported or not.
Property Value
Boolean
If true, the field shall be exported by a submit-form action.
Field¶
Gets the underlying PDF field.
Property Value
PDFField
The corresponding non-visual object.
FormatAction¶
Gets or sets the format action.
Property Value
PDFJavaScriptAction
A that shall be performed before
the field is formatted to display its value.
KeyPressAction¶
Gets or sets the keypress action.
Property Value
PDFJavaScriptAction
A that shall be performed when the user modifies a character
in a text field or combo box or modifies the selection in a scrollable list box.
MappingName¶
Gets or sets the field mapping name.
Property Value
String
The mapping name that shall be used when exporting interactive form field data from the document.
Name¶
Gets or sets the field name.
Property Value
String
The name of the field.
Exceptions
ArgumentException
Thrown when the name is not valid (null, empty, unsupported characters).
NoToggleToOff¶
Gets or sets a value indicating whether a radio button shall be selected at all times.
Property Value
Boolean
If true, exactly one radio button shall be selected at all times.
Remarks
If set, exactly one radio button shall be selected at all times; selecting the currently selected button has no effect. If clear, clicking the selected button deselects it, leaving no button selected.
RadioButtonField¶
Gets the associated radiobutton field.
Property Value
PDFRadioButtonField
The corresponding non-visual radiobutton field.
RadiosInUnison¶
Gets or sets a value indicating whether all the widgets the same export value in the same radio button group should be selected.
Property Value
Boolean
If true, a group of radio buttons widgets within a radio button field that use
the same export value will turn on and off in unison.
Remarks
If set, a group of radio buttons within a radio button field that use the same export value will turn on and off in unison; that is if one is checked, they are all checked. If clear, the buttons are mutually exclusive.
ReadOnly¶
Gets or sets a value indicating whether the field is read-only.
Property Value
Boolean
If true, the user may not change the value of the field.
Any associated widget annotations will not interact with the user;
that is, they will not respond to mouse clicks or change their
appearance in response to mouse motions.
Required¶
Gets or sets a value indicating whether the field is required.
Property Value
Boolean
If true, the field shall have a value at the time
it is exported by a submit-form action
SelectedIndex¶
Gets or sets the lowest ordinal index of the selected widgets in the field.
Property Value
Int32
The lowest ordinal index of the selected widgets in the field.
The default is -1, which indicates that nothing is selected.
TextDirection¶
Gets or sets the text direction.
Property Value
PDFTextDirection
A enum member specifying the direction of the text displayed in the field.
Type¶
Gets the field type.
Property Value
PDFFieldType
The field type.
ValidateAction¶
Gets or sets the validate action.
Property Value
PDFJavaScriptAction
A that shall be performed when the field's value is changed.
This action may check the new value for validity.
Value¶
Gets or sets the field value.
Property Value
Object
The field value.
VisualWidgets¶
Gets the collection of visual widgets for this field.
Property Value
PDFVisualFieldWidgetCollection
A collection of PDFVisualFieldWidget objects representing the field instances in a PDFDocumentView control.