PdfToggleButtonField Class

Definition

A check box or a set of radio buttons: buttons with an on and an off state, whose value names the appearance state that is on.

public abstract class PdfToggleButtonField : PdfButtonField

Remarks

ISO 32000-2 §12.7.5.2.3, §12.7.5.2.4 and Table 230. Each widget's normal appearance has its on state, under any name, and optionally Off. The field's value V names the on state that is selected, Off when none is. Widgets select their appearance with AS, which "shall also be" that value; when they disagree, AS decides the appearance and V remains the value, and a ButtonValueStateMismatch diagnostic is recorded.

With Opt (PDF 1.4), entry i is the export value of the i-th widget in Kids, and on states may be named by that position (/0, /1), so widgets can share an export value and still be told apart.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Properties (6)

Methods (7)