public class ImageSaveOptions extends SaveOptions
Allows to specify additional options when rendering document pages to images.
Constructor and Description |
---|
ImageSaveOptions(int format)
Initializes a new instance of the
ImageSaveOptions class. |
Modifier and Type | Method and Description |
---|---|
int |
getPageIndex()
Gets or sets the index of the first page to save.
|
float |
getResolution()
Gets or sets the resolution for the generated images, in dots per inch.
|
void |
setPageIndex(int value)
Gets or sets the index of the first page to save.
|
void |
setResolution(float value)
Gets or sets the resolution for the generated images, in dots per inch.
|
getFontsSubsystem, getSaveFormat, setFontsSubsystem
public ImageSaveOptions(int format)
Initializes a new instance of the ImageSaveOptions
class.
format
- The format in which the document is saved.public int getPageIndex()
Gets or sets the index of the first page to save. By default is 0.
public void setPageIndex(int value)
Gets or sets the index of the first page to save. By default is 0.
public float getResolution()
Gets or sets the resolution for the generated images, in dots per inch.
public void setResolution(float value)
Gets or sets the resolution for the generated images, in dots per inch.
Copyright (c) 2002-2018 Aspose. All Rights Reserved.