Represents the radio button field of a interactive forms. Radio buttons are a set of related toggles, at most one of which may be on at any given time; selecting any one of the buttons automatically deselects all the others.
For a list of all members of this type, see RadioButton members.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
System.Object
ceTe.DynamicPDF.PageElement
ceTe.DynamicPDF.PageElements.Forms.FormElement
ceTe.DynamicPDF.PageElements.Forms.RadioButton
[Visual Basic]
Public Class RadioButton
Inherits FormElement[C#]
public class RadioButton : FormElementFor more details on radio button fields take a look at the Interactive Forms topic.
NOTE: This page element cannot be used within a table cell, or tranformation group.This example shows how to create an Radio Button and Add it to the page.
[Visual Basic]
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.PageElements.Forms
Module MyModule
Sub Main()
' Create a PDF Document
Dim MyDocument As Document = New Document
' Create a PDF Page
Dim MyPage As Page = New Page(PageSize.Letter)
' Create an Radio Buttons
Dim MyRadio As RadioButton = New RadioButton("rdbtn", 50, 25, 100, 75)
MyRadio.DefaultChecked = true
MyRadio.ToolTip = "first"
Dim MyRadio1 As RadioButton = New RadioButton("rdbtn", 50, 140, 100, 75)
MyRadio1.DefaultChecked = true
MyRadio1.ExportValue = "abc"
MyRadio1.ToolTip = "second"
Dim MyRadio2 As RadioButton = New RadioButton("rdbtn", 50, 250, 100, 75)
MyRadio2.DefaultChecked = true
MyRadio2.ExportValue = "xyz"
MyRadio2.ToolTip = "third"
' Add the Radio Buttons to the page
MyPage.Elements.Add(MyRadio)
MyPage.Elements.Add(MyRadio1)
MyPage.Elements.Add(MyRadio2)
' Add pages to the document
MyDocument.Pages.Add(MyPage)
' Save the PDF document
MyDocument.Draw("C:\MyDocument.pdf")
End Sub
End Module
[C#]
using System; |
This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:
Namespace: ceTe.DynamicPDF.PageElements.Forms
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: ceTe.DynamicPDF (in ceTe.DynamicPDF.dll)
RadioButton Members | ceTe.DynamicPDF.PageElements.Forms Namespace
© Copyright 2007, ceTe Software