public interface IPreviewOptions extends IPageOptions
Interface for the preview options.
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Preview height.
|
int |
getMode()
Gets the mode for preview.
|
PageStreamFactory |
getPageStreamFactory()
Delegate that defines method to create output page preview stream.
|
String |
getPathByPageNumber(int pageNumber,
String extension)
Gets the full file path of previewed document by page number with defined extension.
|
int |
getWidth()
Preview width.
|
void |
setHeight(int value)
Preview height.
|
void |
setWidth(int value)
Preview width.
|
void |
validate(FileType fileType)
Validates the split options.
|
getPages
int getHeight()
Preview height.
int getMode()
Gets the mode for preview.
PageStreamFactory getPageStreamFactory()
Delegate that defines method to create output page preview stream.
String getPathByPageNumber(int pageNumber, String extension)
Gets the full file path of previewed document by page number with defined extension.
pageNumber
- Page number of preview.extension
- Extension of file.int getWidth()
Preview width.
void setHeight(int value)
Preview height.
void setWidth(int value)
Preview width.