Click or drag to resize

MarkupGetAppearance Method (AnnotAnnotationState, String)

Gets the annotation’s appearance for the given combination of annotation and appearance states.

Namespace:  pdftron.PDF.Annots
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public Obj GetAppearance(
	AnnotAnnotationState annot_state,
	string app_state
)

Parameters

annot_state
Type: pdftron.PDFAnnotAnnotationState
The annotation’s appearance state, which selects the applicable appearance stream from the appearance sub-dictionary. An annotation can define as many as three separate appearances: The normal, rollover, and down appearance.
app_state
Type: SystemString
Is an optional parameter specifying the appearance state to look for (e.g. "Off", "On", etc). If appearance_state is NULL, the choice between different appearance states is determined by the AS (Appearance State) entry in the annotation dictionary.

Return Value

Type: Obj
The appearance stream for this annotation, or NULL if the annotation does not have an appearance for the given combination of annotation and appearance states.

Implements

IAnnotGetAppearance(AnnotAnnotationState, String)
See Also