Click or drag to resize

Document SaveToImages Method (Int32, ImageFormat)

Save the specified page into image

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public Stream SaveToImages(
	int pageIndex,
	ImageFormat imageFormat
)

Parameters

pageIndex
Type: System Int32
Page index
imageFormat
Type: System.Drawing.Imaging ImageFormat
The ImageFormat

Return Value

Type: Stream
Returns the image as stream

Implements

IDocument SaveToImages(Int32, ImageFormat)
See Also