XpsDocument.SaveAsImage
Contents
[
Hide
]SaveAsImage(ImageSaveOptions)
Saves the document to image file.The output directory and the file name will be the same as from input PS file. The file extension will correspond to image format in “options” param. If the document was initialized with a stream that is not FileStream, image file will be saved in the current folder with default file name template.
public void SaveAsImage(ImageSaveOptions options)
| Parameter | Type | Description |
|---|---|---|
| options | ImageSaveOptions | Options for saving the document in a bitmap image format. |
See Also
- class ImageSaveOptions
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page
SaveAsImage(ImageSaveOptions, string, string)
public void SaveAsImage(ImageSaveOptions options, string outDir, string fileNameTemplate)
See Also
- class ImageSaveOptions
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page