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

SystemObject
  FirstFloor.Documents.Annotations.StorageAnnotationFactoryHighlight
    FirstFloor.Documents.Annotations.StorageTextAnnotationFactoryHighlight
      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 class HighlightFactory : TextAnnotationFactory<Highlight>

The HighlightFactory type exposes the following members.

Constructors

  NameDescription
Public methodHighlightFactory
Initializes a new instance of the HighlightFactory 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.
(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).)
Top
See Also

Reference