public class DiagramSaveOptions
Constructor Summary |
---|
DiagramSaveOptions()
Initializes a new instance of this class that can be used to save a diagram in the VDX format. |
DiagramSaveOptions(intsaveFormat)
Initializes a new instance of this class that can be used to save a diagram in the VDX or VSX format. |
Property Getters/Setters Summary | ||
---|---|---|
boolean | getAutoFitPageToDrawingContent() | |
void | setAutoFitPageToDrawingContent(booleanvalue) | |
Defines whether need enlarge page to fit drawing content or not. | ||
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. | ||
int | getSaveFormat() | |
void | setSaveFormat(intvalue) | |
Specifies the format in which the rendered diagram will be saved if this save options object is used.
Can be |
||
IWarningCallback | getWarningCallback() | |
void | ||
Gets or sets warning callback. |
public DiagramSaveOptions() throws java.lang.Exception
public DiagramSaveOptions(int saveFormat) throws java.lang.Exception
saveFormat
- A public int getSaveFormat() / public void setSaveFormat(int value)
public boolean getAutoFitPageToDrawingContent() / public void setAutoFitPageToDrawingContent(boolean value)
public java.lang.String getDefaultFont() / public void setDefaultFont(java.lang.String value)
public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value)