Click or drag to resize

WidgetSetAppearance Method (Obj, AnnotAnnotationState, String)

Sets the annotation’s appearance for the given combination of annotation and appearance states. (Optional; PDF 1.2)

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

Parameters

app_stream
Type: pdftron.SDFObj
a content stream defining the new appearance.
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 (e.g. "Off", "On", etc) under which the new appearance should be stored. If appearance_state is NULL, the annotation will have only one annotaion state.

Implements

IAnnotSetAppearance(Obj, AnnotAnnotationState, String)
See Also