public class FormatRenderProperties extends Object
Constructor and Description |
---|
FormatRenderProperties(int bitDepth,
int dpi,
int format)
Create a set of render properties for the given format.
|
FormatRenderProperties(int bitDepth,
int dpi,
int format,
double width,
double height)
Create a set of render properties for the given format.
|
Modifier and Type | Method and Description |
---|---|
int |
getBitDepth() |
int |
getDpi() |
double |
getHeight() |
int |
getMaxPageRender()
As a way to control memory use, this will be passed in to SnowDocFactory
and limit how many pages of an xlsx will be rendered.
|
int |
getRenderFormat() |
double |
getWidth() |
void |
setBitDepth(int bitDepth) |
void |
setDpi(int dpi) |
void |
setFormat(int format) |
void |
setHeight(double height) |
void |
setMaxPageRender(int maximumPagesToRender)
As a way to control memory use, this will be passed in to SnowDocFactory
and limit how many pages of an xlsx will be rendered.
|
void |
setWidth(double width) |
public FormatRenderProperties(int bitDepth, int dpi, int format)
bitDepth
- number of bits used for color informationdpi
- dots per inchformat
- format type codepublic FormatRenderProperties(int bitDepth, int dpi, int format, double width, double height)
bitDepth
- number of bits used for color informationdpi
- dots per inchformat
- format type codewidth
- default widthheight
- default heightpublic int getBitDepth()
public void setBitDepth(int bitDepth)
bitDepth
- the bitDepth to setpublic int getDpi()
public void setDpi(int dpi)
dpi
- the dpi to setpublic int getRenderFormat()
public void setFormat(int format)
format
- the format to setpublic double getWidth()
public void setWidth(double width)
width
- default width to setpublic double getHeight()
public void setHeight(double height)
height
- default height to setpublic void setMaxPageRender(int maximumPagesToRender)
maximumPagesToRender
- public int getMaxPageRender()
Copyright © 2020 Snowbound Software Corporation. All rights reserved.