Click or drag to resize

LegacyXmpFormatter Class

This class is used to serialize and deserialize XMP annotation data from DotAnnotate 4.0 and earlier. The XmpFormatter will automatically use this class to deserialize when needed.
Inheritance Hierarchy
SystemObject
  Atalasoft.Annotate.FormattersLegacyXmpFormatter

Namespace:  Atalasoft.Annotate.Formatters
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class LegacyXmpFormatter : IFormatter

The LegacyXmpFormatter type exposes the following members.

Constructors
  NameDescription
Public methodLegacyXmpFormatter
Creates a new instance of LegacyXmpFormatter with default options.
Public methodLegacyXmpFormatter(Formatting, Int32, Boolean, PointF)
Creates a new instance of LegacyXmpFormatter with the specified property values.
Top
Properties
  NameDescription
Public propertyBinder
Gets or sets the SerializationBinder that performs type lookups during deserialization.
Public propertyContext
Gets or sets the StreamingContext used for serialization and deserialization.
Public propertyCreateXmpPacket
Gets or sets a value indicating whether [create XMP packet].
Public propertyFormatting
Gets or sets the formatting.
Public propertyIndentation
Gets or sets the indentation.
Public propertyResolution
Gets or sets the resolution.
Public propertySurrogateSelector
Gets or sets the SurrogateSelector used by the current formatter.
Top
Methods
  NameDescription
Public methodDeserialize
Deserializes the data on the provided stream and reconstitutes the graph of objects.
Public methodStatic memberDeserializeBrush
Converts XMP data into an AnnotationBrush.
Public methodStatic memberDeserializePen
Converts XMP data into an AnnotationPen.
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 methodGetHashCode
Serves as the default hash function.
(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.)
Public methodSerialize
Serializes an object, or graph of objects with the given root to the provided stream.
Public methodStatic memberSerializeBrush
Converts an AnnotationBrush into XMP data.
Public methodStatic memberSerializePen
Converts an AnnotationPen into XMP data.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also