Saves the image as painted on a page to the file with specified name using specified
image format.
Namespace:
BitMiracle.Docotic.Pdf
Assembly:
BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)
Syntax
C#
public void SaveAsPainted(
string fileName,
PdfExtractedImageFormat imageFormat
)
VB
Public Sub SaveAsPainted (
fileName As String,
imageFormat As PdfExtractedImageFormat
)
Parameters
- fileName
- Type: System.String
Name of the file 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