Skip to content

PdfAnnotation Class

Definition

Namespace: Xfinium.Pdf.Annotations

Defines an abstract PDF annotation.

C#
public class PdfAnnotation : Object

Inheritance: Object → PdfAnnotation

Properties

Name Description
Contents Gets or sets the annotation contents.
CosDictionary Gets the COS dictionary asssociated with this object.
CreationDate Gets or sets the annotation creation date.
Guid Gets the annotation GUID.
HasStandardAppearance Gets a flag indicating whether the annotation appearance has been created by the library internally or it has been set externally.
Hidden Gets or sets a value indicating whether to display the annotation or not.
ID Gets or sets the annotation ID.
Invisible Gets or sets a value indicating whether the annotation should be displayed if it does not belong to one of the standard annotation types.
Locked Gets or sets a value indicating whether the annotation should be modified.
LockedContents Gets or sets a value indicating whether the annotation contents should be modified.
ModifiedDate Gets or sets the annotation modified date.
MouseDown Gets or sets the mouse down action.
MouseEnter Gets or sets the mouse enter action.
MouseLeave Gets or sets the mouse leave action.
MouseUp Gets or sets the mouse up action.
NormalAppearance Gets or sets the annotation normal appearance.
NoRotate Gets or sets a value indicating whether the annotation should be rotated when the page is rotated.
NoView Gets or sets a value indicating whether the annotation should be displayed.
NoZoom Gets or sets a value indicating whether the annotation should be scaled to current page zoom.
Page Gets the annotation page.
PageClose Gets or sets the page close action.
PageInvisible Gets or sets the page invisible action.
PageOpen Gets or sets the page open action.
PageVisible Gets or sets the page visible action.
Popup Gets or sets the associated popup annotation.
Print Gets or sets a value indicating whether the annotation should be printed.
ReadOnly Gets or sets a value indicating whether the annotation is read only.
Rotation Gets or sets the annotation rotation angle.
ToggleNoView Gets or sets a value indicating whether the interpretation of NoView property should be reversed.
Type Gets the type of the annotation.
VisualRectangle Gets or sets the visual rectangle of this annotation object.

Methods

Name Description
BeginInit Signals the start of the initialization of annotation's properties.
CreateAppearance Creates the visual appearance for the annotation.
EndInit Signals the end of the initialization of annotation's properties.
Flatten Merges the annotation appearance with the page content stream.