Class
PDFRadioButton
Description
A radio button that can be embedded into a PDFDocument.
Properties
Name |
Type |
Read-Only |
Shared |
---|---|---|---|
✓ |
|||
Methods
Name |
Parameters |
Returns |
Shared |
---|---|---|---|
pageNumber As Integer, x As Integer, y As Integer, width As Integer, height As Integer, name As String, tag As String |
|||
pageNumber As Integer, x As Integer, y As Integer, width As Integer, height As Integer |
Property descriptions
PDFRadioButton.Action
Action As PDFButton.Actions = PDFButton.Actions.ResetForm
The action the button will take when pressed.
PDFRadioButton.Caption
Caption As String
The text of the button.
PDFRadioButton.FontSize
FontSize As Integer
The size of the text of the control.
PDFRadioButton.Height
Height As Integer
The height of the control.
PDFRadioButton.Name
Name As String
The name of the control.
In order for two or more PDFRadioButton's to act as a group, all must share the same Name property value.
PDFRadioButton.Page
Page As Integer
The number of the page upon which the control was created.
This property is read-only.
PDFRadioButton.Tag
Tag As String
The value that will be sent when the user presses a PDFButton whose Action is set to SubmitForm.
PDFRadioButton.URL
URL As String
The URL to which the values of controls will be submitted.
PDFRadioButton.Value
Value As Boolean
If True, the radio button is selected.
PDFRadioButton.Width
Width As Integer
The width of the control.
PDFRadioButton.X
X As Integer
The location on the X axis of the upper-left corner of the control.
PDFRadioButton.Y
Y As Integer
The location on the Y axis of the upper-left corner of the control.
Method descriptions
PDFRadioButton.Constructor
Constructor(pageNumber As Integer, x As Integer, y As Integer, width as Integer, height As Integer, name As String, tag As String)
Note
Constructors are special methods called when you create an object with the New keyword and pass in the parameters above.
Returns a new PDFRadioButton based upon the values passed.
PDFRadioButton.Constructor
Constructor(pageNumber As Integer, x As Integer, y As Integer, width As Integer, height As Integer)
Note
Constructors are special methods called when you create an object with the New keyword and pass in the parameters above.
Creates an instance of the button with the values passed.
Notes
In order for two or more PDFRadioButton's to act as a group, all must share the same Name property value.
Only the button itself is drawn. If you want a label for the button, you'll need to draw that yourself.
Compatibility
Desktop, console, web and iOS project types on all supported operating systems.
See also
PDFButton parent class; PDFDocument.AddControl method.