Table of Contents

Class RadioButton

Namespace
PDFjet.NET
Assembly
PDFjet.dll

Creates a RadioButton, which can be set selected or unselected.

public class RadioButton : IDrawable
Inheritance
RadioButton
Implements
Inherited Members

Constructors

RadioButton(Font, string)

Creates a RadioButton that is not selected.

public RadioButton(Font font, string label)

Parameters

font Font
label string

Methods

DrawOn(Page)

Draws this RadioButton on the specified Page.

public float[] DrawOn(Page page)

Parameters

page Page

the page to draw on.

Returns

float[]

x and y coordinates of the bottom right corner of this component.

Select(bool)

Selects or deselects this radio button.

public RadioButton Select(bool selected)

Parameters

selected bool

the selection flag.

Returns

RadioButton

this RadioButton.

SetActualText(string)

Sets the actual text for this radio button.

public RadioButton SetActualText(string actualText)

Parameters

actualText string

the actual text for the radio button.

Returns

RadioButton

this RadioButton.

SetAltDescription(string)

Sets the alternate description of this radio button.

public RadioButton SetAltDescription(string altDescription)

Parameters

altDescription string

the alternate description of the radio button.

Returns

RadioButton

this RadioButton.

SetFontSize(float)

Sets the size of the label text. The font keeps its own size.

public RadioButton SetFontSize(float fontSize)

Parameters

fontSize float

the fontSize to use.

Returns

RadioButton

this RadioButton.

SetLocation(float, float)

Set the x,y location on the Page.

public RadioButton SetLocation(float x, float y)

Parameters

x float

the x coordinate on the Page.

y float

the y coordinate on the Page.

Returns

RadioButton

this RadioButton.

SetURIAction(string)

Sets the URI for the "click text line" action.

public RadioButton SetURIAction(string uri)

Parameters

uri string

the URI.

Returns

RadioButton

this RadioButton.