HighlightFactory ClassDocument Toolkit Help
Reads and writes highlight annotations.
Inheritance Hierarchy


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

public class HighlightFactory : TextAnnotationFactory<Highlight>

The HighlightFactory type exposes the following members.


Public methodHighlightFactory
Initializes a new instance of the HighlightFactory class.

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

Public methodCreateAnnotation
Creates the annotation.
(Overrides AnnotationFactoryTCreateAnnotation.)
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.
(Inherited from TextAnnotationFactoryT.)
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.
(Inherited from TextAnnotationFactoryT.)
Public methodReadAnnotation
Reads an annotation from specified element.
(Inherited from AnnotationFactoryT.)
Protected methodReadAnnotationProperties
Reads the annotation properties.
(Overrides TextAnnotationFactoryTReadAnnotationProperties(T, XElement).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodWrite
Write an annotation.
(Inherited from TextAnnotationFactoryT.)
Public methodWriteAnnotation
Writes the annotation to an Xelement.
(Inherited from AnnotationFactoryT.)
Protected methodWriteAnnotationProperties
Writes the annotation properties.
(Overrides TextAnnotationFactoryTWriteAnnotationProperties(T, XElement).)
See Also