ODF .NET Class Library
Show/Hide TOC

# Annotation Class

Represents an OpenDocument annotation.

## Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class Annotation : IParagraphContent, IContentElement,
    	ICellContent

VB

    Public Class Annotation
    	Implements IParagraphContent, IContentElement, ICellContent

Inheritance
  Object Annotation

Implements
  ICellContent, IContentElement, IParagraphContent

## Constructors

Annotation | Initializes a new instance of the Annotation class.

## Properties

CaptionPointX | Contains the position of a point that is captioned. A set of lines are rendered to that point from the caption area.
CaptionPointY | Contains the position of a point that is captioned. A set of lines are rendered to that point from the caption area.
Content | Contains the child elements.
CornerRadius | Contains the radius of the circle used to round off the corners of a caption, rectangle, or a text-box.
CreationDate | Contains the date and time when the document was last modified, when an annotation was created, when a change was made.
CreationDateString | Contains the date entered by a user that is of type string and not a date type. This value is used only for display as entered.
Creator | Contains the name of the person who last modified a document, who created an annotation, who authored a change.
Height | Contains the height of the rectangular which displays the annotation.
ID | Contains unrestricted identifiers to draw elements.
Layer | Contains the name of a layer.
Name | Contains the name of the annotation.
RelativeHeight | Contains height of a drawing object as a relative value within a frame.
RelativeWidth | Contains width of a drawing object as a relative value within a frame.
Show | Contains true if an annotation is visible otherwise is false.
Style | Contains the name of a style that defines a style with the family value of graphic.
TextStyle | Contains the style for formatting of text in a shape.
Transform | Contains a list of transform definitions, which are applied to the drawing shape in the order in which they are listed. The transform definitions in the list shall be separated by a white space and/or a comma.
Width | Contains the width of the rectangular which displays the annotation.
X | Contains the horizontal position of the annotation.
Y | Contains the position where the annotation is displayed.
ZIndex | Contains the rendering order for shapes in a document instance.

## Methods

Add(List) | Adds a List object to the content.
Add(Paragraph) | Adds a Paragraph object to the content.
Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetContentElements | Returns all content elements.
GetHashCode | (Inherited from Object)
GetParent | Returns the parent element.
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current Annotation object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf Namespace