Click or drag to resize

OfficeDecoderGetImageInfo Method (Stream, Int32)

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 override ImageInfo GetImageInfo(
	Stream stream,
	int frameIndex
)

Parameters

stream
Type: System.IOStream
The input Stream.
frameIndex
Type: SystemInt32
The zero based frame index.

Return Value

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

stream is null.

ArgumentOutOfRangeException

frameIndex is not in range [0, frameCount] (See GetFrameCount(Stream) for details.).

OfficeDecoderException

error decoding MS Office document.

See Also