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: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public override int GetFrameCount(
Stream stream
)
Public Overrides Function GetFrameCount (
stream As Stream
) As Integer
Parameters
- stream
- Type: System.IOStream
The stream containing the document.
Return Value
Type:
Int32The number of frames the document contains.
Remarks
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