TextAnnotationFactoryT ClassDocument Toolkit Help
Provides the base factory implementation for text annotations.
Inheritance Hierarchy

SystemObject
  FirstFloor.Documents.Annotations.StorageAnnotationFactoryT
    FirstFloor.Documents.Annotations.StorageTextAnnotationFactoryT
      FirstFloor.Documents.Annotations.StorageHighlightFactory

Namespace: FirstFloor.Documents.Annotations.Storage
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public abstract class TextAnnotationFactory<T> : AnnotationFactory<T>
where T : TextAnnotation

Type Parameters

T
The annotation type

The TextAnnotationFactoryT type exposes the following members.

Constructors

  NameDescription
Public methodTextAnnotationFactoryT
Initializes a new instance of the TextAnnotationFactoryT class.
Top
Properties

  NameDescription
Public propertyAnnotationType
Gets the type of the annotation supported by this factory.
(Inherited from AnnotationFactoryT.)
Top
Methods

  NameDescription
Public methodCreateAnnotation
Creates the annotation.
(Inherited from AnnotationFactoryT.)
Public methodCreateTextAnnotationForSelection
Creates a new text annotation instance for the current selection of the viewer control associated with the specified AnnotationService and add the annotation to the annotation store.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRead
Read an annotation from given element.
(Overrides AnnotationFactoryTRead(XElement).)
Public methodReadAnnotation
Reads an annotation from specified element.
(Inherited from AnnotationFactoryT.)
Protected methodReadAnnotationProperties
Reads the annotation properties from given source element and assign them to specified annotation.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodWrite
Write an annotation.
(Overrides AnnotationFactoryTWrite(T).)
Public methodWriteAnnotation
Writes the annotation to an Xelement.
(Inherited from AnnotationFactoryT.)
Protected methodWriteAnnotationProperties
Writes the annotation properties to given target element.
Top
See Also

Reference