Click or drag to resize

PdfAppearance Class

Represents an appearance settings for a PdfAnnotation.
Inheritance Hierarchy

Namespace: SautinSoft.Pdf.Annotations
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax
public abstract class PdfAppearance

The PdfAppearance type exposes the following members.

Properties
 NameDescription
Public propertyState (Required if the appearance dictionary AP contains one or more subdictionaries; PDF 1.2) The annotation's appearance state, which selects the applicable appearance stream from an appearance subdictionary (see Section 12.5.5, "Appearance Streams").
Top
Methods
 NameDescription
Public methodBeginInit

Begins initialization of the PdfAppearance.

Call EndInit to end the initialization and update the appearance.

If BeginInit is called on a PdfAppearance that is already being initialized, the second and subsequent calls are ignored.

Public methodEndInit

Ends initialization of the PdfAppearance by updating the changed appearance.

This method will be ignored if called on a PdfAppearance that is not being initialized.

Public methodGet Gets the appearance form for the Normal appearance trigger and the current appearance State.
Public methodGet(PdfAppearanceTrigger) Gets a collection of appearance states and the associated appearance forms for the specified appearance trigger.
Public methodGet(PdfAppearanceTrigger, PdfAppearanceState) Gets the appearance form for the specified appearance trigger and appearance state.
Public methodRefresh Forces an update of the appearance.
Public methodSet(PdfForm) Sets the appearance form for the Normal appearance trigger and the current appearance State.
Public methodSet(PdfAppearanceTrigger, ICollectionKeyValuePairPdfAppearanceState, PdfForm) Sets a collection of appearance states and the associated appearance forms for the specified appearance trigger.
Public methodSet(PdfAppearanceTrigger, PdfAppearanceState, PdfForm) Sets the appearance form for the specified appearance trigger and appearance state.
Top
See Also