PdfPaintedImage.SaveAsPainted Method (Stream)

Saves the image as painted on a page or XObject to the stream.

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

Syntax

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

Parameters

stream
Type: System.IO.Stream
The stream to save image to.

Remarks

This method always creates images in PNG format with 72x72 ppi resolution.

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

The output image will have the same physical size as the image drawn on a PDF page or XObject.

See Also