Saves the image as painted on a page to the specified stream using specified image format.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void SaveAsPainted(
	Stream stream,
	PdfExtractedImageFormat imageFormat
)
VB
Public Sub SaveAsPainted ( 
	stream As Stream,
	imageFormat As PdfExtractedImageFormat
)

Parameters

stream
Type: System.IO.Stream
The stream to save image to.
imageFormat
Type: BitMiracle.Docotic.Pdf.PdfExtractedImageFormat
The image format to use while saving the image.

Remarks

This method transforms the Image using TransformationMatrix so the output image looks exactly like on a page in a PDF viewer.

See Also