public class ImageOptions extends Object
Allows to specify additional options when rendering document pages to images
Constructor and Description |
---|
ImageOptions()
Initialize a new instance of ImageOptions class
|
ImageOptions(int numOfPages,
int pageNumber,
String password)
Initialize a new instance of ImageOptions class that can be used to save rendered images in
F:System.Drawing.Imaging.Png format. |
Modifier and Type | Method and Description |
---|---|
int |
getCountPagesToConvert()
Get or set the number of pages
|
String |
getImageFormat()
Get the format of the Image
|
com.aspose.ms.System.Drawing.Imaging.ImageFormat |
getImageFormatMs() |
int |
getPageNumber()
Get or set the page number
|
List<Integer> |
getPageNumbersToConvert()
Get or set the pages to convert
|
String |
getPassword()
Get or Set document's password
|
void |
setCountPagesToConvert(int value)
Get or set the number of pages
|
void |
setPageNumber(int value)
Get or set the page number
|
void |
setPageNumbersToConvert(List<Integer> value)
Get or set the pages to convert
|
void |
setPassword(String value)
Get or Set document's password
|
public ImageOptions()
Initialize a new instance of ImageOptions class
public ImageOptions(int numOfPages, int pageNumber, String password)
Initialize a new instance of ImageOptions class that can be used to save rendered images in
F:System.Drawing.Imaging.Png
format.
numOfPages
- Number of Pages to ConvertpageNumber
- Page Numberpassword
- Password of Documentpublic final int getCountPagesToConvert()
Get or set the number of pages
public final String getImageFormat()
Get the format of the Image
public final com.aspose.ms.System.Drawing.Imaging.ImageFormat getImageFormatMs()
public final int getPageNumber()
Get or set the page number
public final List<Integer> getPageNumbersToConvert()
Get or set the pages to convert
public final String getPassword()
Get or Set document's password
public final void setCountPagesToConvert(int value)
Get or set the number of pages
public final void setPageNumber(int value)
Get or set the page number
public final void setPageNumbersToConvert(List<Integer> value)
Get or set the pages to convert
public final void setPassword(String value)
Get or Set document's password
Copyright © 2019. All rights reserved.