PdfRadioButton Class

A button of a group of radio buttons (PdfInteractiveForm.AddRadioButtons): a widget, and the option it chooses.

public sealed class PdfRadioButton : IEquatable<PdfRadioButton>
Implements

Constructors

NameDescription
PdfRadioButton(PdfPage, PdfRectangle, string)A button of a group of radio buttons (PdfInteractiveForm.AddRadioButtons): a widget, and the option it chooses.

PdfRadioButton(PdfPage, PdfRectangle, string)

PdfRadioButton.cs

A button of a group of radio buttons (PdfInteractiveForm.AddRadioButtons): a widget, and the option it chooses.

public PdfRadioButton(PdfPage Page, PdfRectangle Rectangle, string Value)

Parameters

Page PdfPage
The page of the widget.
Rectangle PdfRectangle
The rectangle of the widget, in default user space.
Value string
The option: the value of the field when the button is on.

Properties

NameDescription
PageThe page of the widget.
RectangleThe rectangle of the widget, in default user space.
ValueThe option: the value of the field when the button is on.

The page of the widget.

public PdfPage Page { get; init; }

Property value

PdfPage

The rectangle of the widget, in default user space.

public PdfRectangle Rectangle { get; init; }

Property value

PdfRectangle

The option: the value of the field when the button is on.

public string Value { get; init; }

Property value

string

Methods

NameDescription
Deconstruct(PdfPage, PdfRectangle, string)
Equals(PdfRadioButton?)
Equals(object?)
GetHashCode()
ToString()

Deconstruct(PdfPage, PdfRectangle, string)

public void Deconstruct(out PdfPage Page, out PdfRectangle Rectangle, out string Value)

Parameters

Page PdfPage
Rectangle PdfRectangle
Value string

No documentation is available.

Equals overloads

Equals(PdfRadioButton?)

public bool Equals(PdfRadioButton? other)
Parameters
other PdfRadioButton?
Returns

bool

No documentation is available.

Equals(object?)

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(PdfRadioButton?, PdfRadioButton?)
operator !=(PdfRadioButton?, PdfRadioButton?)

operator ==(PdfRadioButton?, PdfRadioButton?)

public static bool operator ==(PdfRadioButton? left, PdfRadioButton? right)

Parameters

left PdfRadioButton?
right PdfRadioButton?

Returns

bool

No documentation is available.

operator !=(PdfRadioButton?, PdfRadioButton?)

public static bool operator !=(PdfRadioButton? left, PdfRadioButton? right)

Parameters

left PdfRadioButton?
right PdfRadioButton?

Returns

bool

No documentation is available.