public class ImageSaveOptions
Constructor Summary |
---|
ImageSaveOptions(intsaveFormat)
Initializes a new instance of this class that can be used to save rendered images in the |
Property Getters/Setters Summary | ||
---|---|---|
java.awt.geom.Rectangle2D.Float | getArea() | |
Gets or sets the area of the shapes will be saved .
|
||
int | getCompositingQuality() | |
void | setCompositingQuality(intvalue) | |
Specifies the quality level to use during compositing. The value of the property is CompositingQuality integer constant. | ||
java.lang.String | getDefaultFont() | |
void | setDefaultFont(java.lang.Stringvalue) | |
When characters in the diagram are unicode and not be set with correct font value or the font is not installed locally, they may appear as block in pdf, image or XPS. Set the DefaultFont such as MingLiu or MS Gothic to show these characters. | ||
boolean | getEnlargePage() | |
void | setEnlargePage(booleanvalue) | |
Specifies whether enlarge page . | ||
boolean | getExportGuideShapes() | |
void | setExportGuideShapes(booleanvalue) | |
Defines whether need exporting the guide shapes or not. | ||
boolean | getExportHiddenPage() | |
void | setExportHiddenPage(booleanvalue) | |
Defines whether need exporting the hidden page or not. | ||
float | getImageBrightness() | |
void | setImageBrightness(floatvalue) | |
Gets or sets the brightness for the the generated images. | ||
int | getImageColorMode() | |
void | setImageColorMode(intvalue) | |
Gets or sets the color mode for the generated images. The value of the property is ImageColorMode integer constant. | ||
float | getImageContrast() | |
void | setImageContrast(floatvalue) | |
Gets or sets the contrast for the generated images. | ||
int | getInterpolationMode() | |
void | setInterpolationMode(intvalue) | |
Specifies the algorithm that is used when images are scaled or rotated. The value of the property is InterpolationMode integer constant. | ||
boolean | isExportComments() | |
void | setExportComments(booleanvalue) | |
Defines whether need exporting the comments or not. | ||
int | getJpegQuality() | |
void | setJpegQuality(intvalue) | |
Gets or sets a value determining the quality of the generated JPEG images. | ||
int | getPageCount() | |
void | setPageCount(intvalue) | |
Gets or sets the number of pages to render when saving to a multipage TIFF file. Default is MaxValue which means all pages of the diagram will be rendered. | ||
int | getPageIndex() | |
void | setPageIndex(intvalue) | |
Gets or sets the 0-based index of the first page to render. Default is 0. | ||
PageSize | getPageSize() | |
void | setPageSize(PageSize value) | |
Gets or sets the page size for the generated images.
Can be |
||
int | getPixelOffsetMode() | |
void | setPixelOffsetMode(intvalue) | |
Gets or set a value specifying how pixels are offset during rendering. The value of the property is PixelOffsetMode integer constant. | ||
float | getResolution() | |
void | setResolution(floatvalue) | |
Gets or sets the resolution for the generated images, in dots per inch. | ||
boolean | getSameAsPdfConversionArea() | |
void | setSameAsPdfConversionArea(booleanvalue) | |
Specifies whether saving area same as pdf . | ||
boolean | getSaveForegroundPagesOnly() | |
void | setSaveForegroundPagesOnly(booleanvalue) | |
Specifies whether all pages will be saved in image or only foreground. | ||
int | getSaveFormat() | |
void | setSaveFormat(intvalue) | |
Specifies the format in which the rendered diagram pages will be saved if this save options object is used.
Can be |
||
float | getScale() | |
void | setScale(floatvalue) | |
Gets or sets the zoom factor for the generated images. | ||
ShapeCollection | getShapes() | |
void | setShapes(ShapeCollection value) | |
Gets or sets shapes to render. Default count is 0. | ||
int | getSmoothingMode() | |
void | setSmoothingMode(intvalue) | |
Specifies whether smoothing (antialiasing) is applied to lines and curves and the edges of filled areas. The value of the property is SmoothingMode integer constant. | ||
int | getTiffCompression() | |
void | setTiffCompression(intvalue) | |
Gets or sets the type of compression to apply when saving generated images to the TIFF format. The value of the property is TiffCompression integer constant. | ||
IWarningCallback | getWarningCallback() | |
void | ||
Gets or sets warning callback. |
public ImageSaveOptions(int saveFormat) throws java.lang.Exception
saveFormat
- A public float getImageBrightness() / public void setImageBrightness(float value)
public int getImageColorMode() / public void setImageColorMode(int value)
public float getImageContrast() / public void setImageContrast(float value)
public int getJpegQuality() / public void setJpegQuality(int value)
public int getPageCount() / public void setPageCount(int value)
public int getPageIndex() / public void setPageIndex(int value)
public boolean getExportHiddenPage() / public void setExportHiddenPage(boolean value)
public float getResolution() / public void setResolution(float value)
public int getSaveFormat() / public void setSaveFormat(int value)
public float getScale() / public void setScale(float value)
public int getTiffCompression() / public void setTiffCompression(int value)
public boolean getSaveForegroundPagesOnly() / public void setSaveForegroundPagesOnly(boolean value)
public boolean getSameAsPdfConversionArea() / public void setSameAsPdfConversionArea(boolean value)
public int getPixelOffsetMode() / public void setPixelOffsetMode(int value)
public int getSmoothingMode() / public void setSmoothingMode(int value)
public int getCompositingQuality() / public void setCompositingQuality(int value)
public int getInterpolationMode() / public void setInterpolationMode(int value)
public PageSize getPageSize() / public void setPageSize(PageSize value)
public ShapeCollection getShapes() / public void setShapes(ShapeCollection value)
public java.awt.geom.Rectangle2D.Float getArea()
public boolean getExportGuideShapes() / public void setExportGuideShapes(boolean value)
public boolean isExportComments() / public void setExportComments(boolean value)
public boolean getEnlargePage() / public void setEnlargePage(boolean value)
public java.lang.String getDefaultFont() / public void setDefaultFont(java.lang.String value)
public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value)