Click or drag to resize

EmfDecoder Class

An ImageDecoder used to read Enhanced Metafiles (EMF) images from a Stream.

Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.CodecImageDecoder
    Atalasoft.Imaging.CodecEmfDecoder

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class EmfDecoder : ImageDecoder

The EmfDecoder type exposes the following members.

Constructors
  NameDescription
Public methodEmfDecoder
Initializes a new instance of the EmfDecoder class.
Top
Properties
  NameDescription
Public propertySupportedImageType Obsolete.
Returns an Emf ImageType enumeration value.
(Overrides ImageDecoderSupportedImageType.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetImageInfo
Retreive information from an Emf image stored in a Stream without decoding the image data.
(Overrides ImageDecoderGetImageInfo(Stream).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValidFormat
Checks the stream to determine if the image can be read by the decoder that derives this class.
(Overrides ImageDecoderIsValidFormat(Stream).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead
Returns an %AtalaImage% from a Stream containing an Emf encoded image.
(Overrides ImageDecoderRead(Stream, ProgressEventHandler).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

By default, when opening an Emf image using the AtalaImage or Workspace objects, this decoder will automatically be selected from the %RegisteredDecoders% and does not have to be explicitly set.

Any vectorized entities saved in the Metafile will be converted to a raster format.

See Also