Click or drag to resize

AnnotationDataImporter Class

AnnotationDataImporter is an abstract base class used to define how annotations are imported from arbitrary data files into DotImage.
Inheritance Hierarchy

Namespace:  Atalasoft.Annotate.Importers
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public abstract class AnnotationDataImporter

The AnnotationDataImporter type exposes the following members.

Constructors
  NameDescription
Protected methodAnnotationDataImporter
Initializes a new instance of the AnnotationDataImporter class
Top
Properties
  NameDescription
Public propertyFailsafeAnnotationFactory
Gets or sets a delegate that is used to create annotations if an importer is unable to do so.
Public propertyLastErrors
Gets a collection of strings representing errors encountered while importing annotations.
Public propertyPageCount
Gets the total number of pages in a document.
Public propertyResolution
Gets or sets the target resolution for the annotations.
Public propertyThrowOnError
Gets or sets whether or not the importer will throw or suppress exceptions.
Public propertyUnits
Gets or sets the units of the target for the annotations.
Top
Methods
  NameDescription
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 it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFromStream
Constructs a new annotation importer associated with a given stream.
Public methodGetAnnotationCount
Returns the number of annotations on a conceptual page of a document.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImport
Imports all annotations as AnnotationDataCollection.
Public methodImport(Int32)
Imports a page of annotations as LayerData.
Public methodImport(Int32, Int32)
Imports a single annotation from a given page of annotations.
Public methodIsValidFormat
Indicates whether or not an AnnotationDataImporter can recognize a particular data format.
Protected methodLLGetAnnotationCount
Low level implementation of GetAnnotationCount(Int32).
Protected methodLLGetPageCount
The low-level implementation of PageCount.
Protected methodLLImport(Int32)
Imports all annotations as a LayerData object.
Protected methodLLImport(Int32, Int32)
Protected methodLLLoad
Public methodLoad
The load method is used to allow an AnnotationDataImporter to load and to possibly cache annotations.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAnnotationImported
Raises the AnnotationImported event.
Protected methodOnAnnotationPageImported
Raises the AnnotationPageImported event.
Protected methodOnAnnotationPageImporting
Raises the AnnotationPageImporting event.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAnnotationImported
Raised after a single annotation has been imported.
Public eventAnnotationPageImported
Raised after a page of annotations has been imported.
Public eventAnnotationPageImporting
Raised before a page of annotations will be imported.
Top
Fields
  NameDescription
Protected fieldLoaded
Top
Remarks
Since this class is abstract, you can't use it directly
See Also