Namespace TallComponents.PDF.Annotations
Class Annotation
An annotation is the base class all annotations.
Syntax
public class Annotation : Object,ITagChild
Properties
DeviceColor BorderColor
The color of the border of this annotation.
BorderStyle BorderStyle
The border style of this annotation.
Double BorderWidth
The width in points of the border of this annotation.
Double Bottom
Position of annotation's bottom edge.
Double Height
Height of this annotation.
Boolean Invisible
This annotation will not be visible in the pdf-viewer.
Double Left
Position of annotation's left edge.
Boolean Locked
Specifies if the annotations properties are locked in a viewer application.
Boolean NoRotate
This annotation will not be rotated with the page rotation.
The upper left corner of the annotation rectangle remains in a fixed location on the page, regardless of the page rotation.
Page Page
The associated page.
Tag ParentTag
The Tag connected to the Annotation
Boolean Print
This annotation will be visible on a printout.
Double Right
Position of annotation's right edge.
Int32 TabOrder
Retrieve the tab-order for this annotation.
Double Top
Position of annotation's top edge.
Double Width
Width of this annotation.
Methods
Object Accept(AnnotationVisitor,Object)
Accept this annotation.
Void BeginUpdate()
This method can be used to begin a properties bulk update.
ShapeCollection CreateShapes(UserState)
Returns the content of the annotation appearance as a collection of shape objects (nested).
Void EndUpdate()
This method can be used to end the properties bulk update.
Void Flatten(Canvas)
Flatten the annotation as static content to the given canvas.
Void SetCustomAppearance(UserState,ShapeCollection)
Sets the appearance of the annotation as a collection of nested shapes objects.