LineSetAppearance 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
)
Public Sub SetAppearance (
app_stream As Obj,
annot_state As AnnotAnnotationState,
app_state As String
)
public:
virtual void SetAppearance(
[InAttribute] Obj^ app_stream,
[InAttribute] AnnotAnnotationState annot_state,
[InAttribute] String^ app_state
) sealed
function SetAppearance(app_stream, annot_state, 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