Click or drag to resize

XmpFormatter Class

This class converts objects into XMP data to be embedded into images or saved as standalone files.
Inheritance Hierarchy
SystemObject
  Atalasoft.Annotate.FormattersXmpFormatter

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

The XmpFormatter type exposes the following members.

Constructors
  NameDescription
Public methodXmpFormatter
Creates a new instance of XmpFormatter.
Public methodXmpFormatter(Formatting, Int32, Boolean, Boolean)
Creates a new instance of XmpFormatter specifying formatting, indentation, whether or not data should be formatted as an XMP packet and whether to SkipUnknownObjects.
Public methodXmpFormatter(Formatting, Int32, Boolean, Boolean, PointF)
Creates a new instance of XmpFormatter specifying formatting, indentation, whether or not data should be formatted as an XMP packet, whether to SkipUnknownObjects, and a resolution.
Public methodXmpFormatter(Formatting, Int32, Encoding, Boolean, Boolean, PointF)
Creates a new instance of XmpFormatter specifying formatting, indentation, encoding, whether or not data should be formatted as an XMP packet, whether to SkipUnknownObjects, and a resolution.
Top
Properties
  NameDescription
Public propertyAnnotationDataVersion
Gets the annotation version
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 full XMP is generated or an XMP packet.
Public propertyEncoding
Gets or sets the System.Text.Encoding to use when serializing the annotation data.
Public propertyFormatting
Gets or sets the type of XML formatting used when serializing data.
Public propertyIndentation
Gets or sets the number of spaces to indent the data when serializing.
Public propertyResolution
Gets or sets the resolution of the annotation data.
Public propertySkipUnknownObjects
Gets or sets a value indicating whether objects that cannot be created are skipped instead of throwing an exception.
Public propertySurrogateSelector
Gets or sets the SurrogateSelector used by the current formatter.
Top
Methods
  NameDescription
Public methodDeserialize
Deserializes XMP data back into the original objects.
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 into XMP data.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Only objects that implement the ISerializable interface can be converted by this formatter.
See Also