Click or drag to resize

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
)

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