Click or drag to resize

OfficeAdapterDecoder Class

An implementation of the MultiFramedImageDecoder class which uses Microsoft Office to render AtalaImages.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.CodecImageDecoder
    Atalasoft.Imaging.CodecMultiFramedImageDecoder
      Atalasoft.Imaging.Codec.OfficeOfficeAdapterDecoder

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

The OfficeAdapterDecoder type exposes the following members.

Constructors
  NameDescription
Public methodOfficeAdapterDecoder
Initializes a new instance of the OfficeAdapterDecoder class.
Public methodOfficeAdapterDecoder(ICacheStream, DisposableTempFile)
Initializes a new instance of the OfficeAdapterDecoder class.
Public methodOfficeAdapterDecoder(OfficeSession)
Initializes a new instance of the OfficeAdapterDecoder class using the provided OfficeSession.
Public methodOfficeAdapterDecoder(OfficeSession, ICacheStream, DisposableTempFile)
Initializes a new instance of the OfficeAdapterDecoder class using the provided OfficeSession.
Public methodOfficeAdapterDecoder(ICacheStream, DisposableTempFile, OfficeDisposableTempFileFactory, OfficeDisposableTempFileFactory)
Initializes a new instance of the OfficeAdapterDecoder class.
Public methodOfficeAdapterDecoder(OfficeSession, ICacheStream, DisposableTempFile, OfficeDisposableTempFileFactory, OfficeDisposableTempFileFactory)
Initializes a new instance of the OfficeAdapterDecoder class using the provided OfficeSession.
Top
Properties
  NameDescription
Public propertyPreventInteractivity
Gets or sets a value indicating whether any possible interactive prompts should be prevented during rendering.
Public propertyResolution
Gets or sets the resolution which this decoder will use to render documents. The unit of measure is DPI (dots-per-inch). Default value: 96
Public propertySupportedImageType Obsolete.
Returns the ImageType that the implemented decoder class supports.
(Inherited from ImageDecoder.)
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 methodGetFrameCount
Gets the number of frames in the document contained in the stream.
(Overrides MultiFramedImageDecoderGetFrameCount(Stream).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetImageInfo(Stream)
Gets an OfficeImageInfo object, containing information about the first frame.
(Overrides ImageDecoderGetImageInfo(Stream).)
Public methodGetImageInfo(Stream, Int32)
Gets an OfficeImageInfo object, containing information about the specified frame.
(Overrides MultiFramedImageDecoderGetImageInfo(Stream, Int32).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValidFormat
Determines if this MultiFramedImageDecoder is capable of decoding the data contained within a specified stream.
(Overrides ImageDecoderIsValidFormat(Stream).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead(Stream, ProgressEventHandler)
Decodes the first frame of the document.
(Overrides ImageDecoderRead(Stream, ProgressEventHandler).)
Public methodRead(Stream, Int32, ProgressEventHandler)
Decodes the specified frame of the document.
(Overrides MultiFramedImageDecoderRead(Stream, Int32, ProgressEventHandler).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Microsoft Office 2010 or higher must be installed to use this class.
See Also