Skip to main content

Annotation Members

Represents a base class for classes representing text and image annotations.

Constructors

Name Description
Annotation(String) Initializes a new instance of the Annotation class with the specified name.

Properties

Name Description
AnchorPoint Specifies the type of the annotation‘s anchor point.
AnchorPointSerializable For internal use. This property is used to support serialization of the anchor point.
Angle Specifies the angle by which the annotation‘s shape is rotated.
AnnotationID
AutoHeight Indicates whether the annotation’s height is calculated based on the annotation’s contents.
AutoWidth Indicates whether the annotation’s width is calculated based on the annotation’s contents.
BackColor Specifies the annotation‘s background color.
Border Gets the annotation‘s border settings.
ConnectorStyle Specifies the connector style of the annotation.
FillStyle Gets the annotation‘s background fill style.
Height Specifies the height (in pixels) of the annotation.
LabelMode Specifies whether the annotation should be cut off if it doesn’t fit into the diagram’s dimensions.
Name Gets or sets the name of the chart element. Inherited from ChartElementNamed.
Padding Specifies the internal space between the annotation‘s content and its edge, in pixels.
RuntimeAnchoring Specifies whether a user can re-locate the annotation’s anchor point at runtime.
RuntimeEditing Specifies whether a user can edit the annotation.
RuntimeMoving Specifies whether it’s allowed to re-locate the annotation at runtime.
RuntimeResizing Specifies whether it’s allowed to resize the annotation at runtime.
RuntimeRotation Specifies whether it’s allowed to rotate the annotation at runtime.
Shadow Gets the annotation‘s shadow settings.
ShapeFillet Specifies the fillet when the annotation’s shape is RoundedRectangle.
ShapeKind Specifies the shape kind of the annotation.
ShapePosition Specifies how the annotation‘s position is defined - relative to its container corners, or to its anchor point.
ShapePositionSerializable For internal use. This property is used to support serialization of the shape position.
Tag Gets or sets the object that contains data related to the chart element. Inherited from ChartElement.
TypeNameSerializable Gets the string value used to support serialization of the annotation type.
Visible Specifies whether the annotation is visible.
Width Specifies the width (in pixels) of the annotation.
ZOrder Gets or sets the Z-Order of the annotation.

Methods

Name Description
Assign(ChartElement) Copies all the settings from the Annotation object passed as the parameter.
Clone() Creates a copy of the current ChartElement object. Inherited from ChartElement.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the textual representation of the named chart element. Inherited from ChartElementNamed.
See Also