PdfPaintedImage.SaveAsPainted Method (String)

Saves the image as painted on a page or XObject to the file with the specified name.

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

Syntax

C#
public void SaveAsPainted(
	string fileName
)
VB
Public Sub SaveAsPainted ( 
	fileName As String
)

Parameters

fileName
Type: System.String
Name of the file 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