Click or drag to resize

OfficeDecoderGetImageInfo Method (Stream)

Retrieve information from an image stored in a file without decoding the image data.

Namespace:  Atalasoft.Imaging.Codec.Office
Assembly:  Atalasoft.dotImage.Office (in Atalasoft.dotImage.Office.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public override ImageInfo GetImageInfo(
	Stream stream
)

Parameters

stream
Type: System.IOStream
A stream containing the encoded image data.

Return Value

Type: ImageInfo
An ImageInfo object containing information about the image such as size and color depth.
Exceptions
ExceptionCondition
ArgumentException

stream is null.

OfficeDecoderException

error decoding MS Office document.

See Also