diff --git a/src/UglyToad.PdfPig/Annotations/Annotation.cs b/src/UglyToad.PdfPig/Annotations/Annotation.cs index 54ba5a0aa..67e07a62a 100644 --- a/src/UglyToad.PdfPig/Annotations/Annotation.cs +++ b/src/UglyToad.PdfPig/Annotations/Annotation.cs @@ -83,6 +83,26 @@ public class Annotation /// public bool HasDownAppearance => downAppearanceStream != null; + /// + /// The normal appearance stream for this annotation, if any. Each appearance is a Form XObject. + /// + public AppearanceStream? NormalAppearance => normalAppearanceStream; + + /// + /// The roll-over appearance stream (shown on hover), if any. + /// + public AppearanceStream? RollOverAppearance => rollOverAppearanceStream; + + /// + /// The down appearance stream (shown on click), if any. + /// + public AppearanceStream? DownAppearance => downAppearanceStream; + + /// + /// The current appearance state name, if any. + /// + public string? AppearanceState => appearanceState; + /// /// The this annotation was in reply to. Can be /// diff --git a/src/UglyToad.PdfPig/Annotations/AppearanceStream.cs b/src/UglyToad.PdfPig/Annotations/AppearanceStream.cs index 48b52fb2c..5639db633 100644 --- a/src/UglyToad.PdfPig/Annotations/AppearanceStream.cs +++ b/src/UglyToad.PdfPig/Annotations/AppearanceStream.cs @@ -21,6 +21,11 @@ public class AppearanceStream /// public bool IsStateless => statelessAppearanceStream != null; + /// + /// The stateless appearance stream, if this appearance stream is stateless. + /// + public StreamToken? StatelessAppearanceStream => statelessAppearanceStream; + /// /// Get list of states. If this is a stateless appearance stream, an empty collection is returned. ///