Click or drag to resize

OfficeAdapterDecoderGetFrameCount Method

Gets the number of frames in the document contained in the stream.

Namespace:  Atalasoft.Imaging.Codec.Office
Assembly:  Atalasoft.dotImage.Office (in Atalasoft.dotImage.Office.dll) Version: (.NET 4.5.2, x86)
public override int GetFrameCount(
	Stream stream


Type: System.IOStream
The stream containing the document.

Return Value

Type: Int32
The number of frames the document contains.
For Word, this refers to the pages in the document. For Excel, this refers to the worksheets in the workbook. For PowerPoint, this refers to the slides in the presentation.
See Also