IDocument
SaveToImages Method (Int32, ImageFormat)
|
Converts the specified page into image
Namespace:
Spire.Doc.Interface
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
Stream SaveToImages(
int pageIndex,
ImageFormat imageFormat
)
Function SaveToImages (
pageIndex As Integer,
imageFormat As ImageFormat
) As Stream
Stream^ SaveToImages(
int pageIndex,
ImageFormat^ imageFormat
)
abstract SaveToImages :
pageIndex : int *
imageFormat : ImageFormat -> Stream
Parameters
-
pageIndex
-
Type:
System
Int32
Zero based page index
-
imageFormat
-
Type:
System.Drawing.Imaging
ImageFormat
The ImageFormat
Return Value
Type:
Stream
Returns the image as stream
Remarks
Layouting of the pages is not exactly the same as the layouting made by MS-Word. The total number of pages and layouting of the elements may vary.
See Also