[]
Represents the appearance of an annotation in normal, rollover and down states.
In the simplest case the appearance can be defined by a single FormXObject specified by the Default property.
In more complex cases it can be defined as a subdictionary specified by the this[string] property. For example, an annotation representing an interactive check box might have two appearance states named On and Off.
See PDF specification for details.
public class Appearance
Gets the AnnotationBase object owning this object.
public AnnotationBase Annotation { get; }
Gets or sets the FormXObject that is used when the widget has separate states.
public FormXObject Default { get; set; }
Gets or sets the FormXObject object for a specified state.
public FormXObject this[string state] { get; set; }
state
stringThe state of the annotation.
The FormXObject associated with the specified state.
Clears all defined appearances.
public void Clear()
Gets the name of the appearance stream that is used to show RadioButtonField or CheckBoxField in the checked state.
public string GetOnState()
The name of the checked appearance stream.
Gets the names of the appearance streams specified for the AnnotationBase.
public string[] GetStates()
A string array containing the appearance streams' names.