AnnotGetAppearance Method (AnnotAnnotationState, String) |
Gets the annotation’s appearance for the given combination of annotation
and appearance states.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public Obj GetAppearance(
AnnotAnnotationState annot_state,
string app_state
)
Public Function GetAppearance (
annot_state As AnnotAnnotationState,
app_state As String
) As Obj
public:
virtual Obj^ GetAppearance(
[InAttribute] AnnotAnnotationState annot_state,
[InAttribute] String^ app_state
) sealed
function GetAppearance(annot_state, 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