Provides the base factory implementation for text annotations.
Inheritance Hierarchy
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
Name | Description | |
---|---|---|
![]() | TextAnnotationFactoryT |
Initializes a new instance of the TextAnnotationFactoryT class.
|
Properties
Name | Description | |
---|---|---|
![]() | AnnotationType |
Gets the type of the annotation supported by this factory.
(Inherited from AnnotationFactoryT.) |
Methods
Name | Description | |
---|---|---|
![]() | CreateAnnotation |
Creates the annotation.
(Inherited from AnnotationFactoryT.) |
![]() | CreateTextAnnotationForSelection |
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.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Read |
Read an annotation from given element.
(Overrides AnnotationFactoryTRead(XElement).) |
![]() | ReadAnnotation |
Reads an annotation from specified element.
(Inherited from AnnotationFactoryT.) |
![]() | ReadAnnotationProperties |
Reads the annotation properties from given source element and assign them to specified annotation.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Write |
Write an annotation.
(Overrides AnnotationFactoryTWrite(T).) |
![]() | WriteAnnotation |
Writes the annotation to an Xelement.
(Inherited from AnnotationFactoryT.) |
![]() | WriteAnnotationProperties |
Writes the annotation properties to given target element.
|
See Also