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.
|
int |
getQuality()
Gets a value determining the quality of saved image.
|
float |
getResolution()
Gets 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 |
setQuality(int value)
Sets a value determining the quality of saved image.
|
void |
setResolution(float value)
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 the resolution for the generated images, in dots per inch.
public void setResolution(float value)
Sets the resolution for the generated images, in dots per inch.
public final int getQuality()
Gets a value determining the quality of saved image. This value is passed to codec as System.Drawing.Imaging.Encoder.Quality parameter.
public final void setQuality(int value)
Sets a value determining the quality of saved image. This value is passed to codec as System.Drawing.Imaging.Encoder.Quality parameter.