PdfPaintedImage.SaveAsPainted Method (String, PdfPaintedImageSavingOptions)

Saves the image as painted on a page to the file with the specified name using the specified options.

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

Syntax

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

Parameters

fileName
Type: System.String
Name of the file to save image to.
options
Type: BitMiracle.Docotic.Pdf.PdfPaintedImageSavingOptions
The options 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 with the specified resolution.

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

See Also