SaveAsJpeg(String,OutputRange,SaveAsImageOptions) Method
In This Topic
Saves the document pages as images in JPEG format, one page per output file.
The parameter is used as a .NET format string, with current page number (1-based) passed to it as the value to be formatted. Note that if does not contain a format item (such as "{0}"), all pages will be saved into the same file name, the last page overwriting everything else.
Syntax
'Declaration
Public Overloads Sub SaveAsJpeg( _
ByVal As System.String, _
Optional ByVal As OutputRange, _
Optional ByVal As SaveAsImageOptions _
)
public void SaveAsJpeg(
System.string ,
OutputRange ,
SaveAsImageOptions
)
Parameters
- filePath
- The output file path.
- pageRange
- The range of pages that should be saved.
- options
- Options that allow customizing the output images.
See Also