SvgOptions
Inheritance: java.lang.Object, com.aspose.tasks.SimpleSaveOptions, com.aspose.tasks.SaveOptions
All Implemented Interfaces: com.aspose.tasks.ICloneableSaveOptions
public class SvgOptions extends SaveOptions implements ICloneableSaveOptions
Allows to specify additional options when rendering project pages to SVG.
Constructors
Constructor | Description |
---|---|
SvgOptions() | Initializes a new instance of the SvgOptions class that can be used to save project in SVG format. |
Methods
Method | Description |
---|---|
copyOutputPropertiesFrom(SaveOptions source) | {@inheritDoc} |
deepClone() | {@inheritDoc} |
getPageSavingCallback() | Gets a user-defined implementation callback which is used to get an output stream for each rendered page. |
getUseGradientBrush() | Determines whether to use gradient brush when rendering project layout. |
setPageSavingCallback(IPageSavingCallback value) | Sets a user-defined implementation callback which is used to get an output stream for each rendered page. |
setUseGradientBrush(boolean value) | Determines whether to use gradient brush when rendering project layout. |
SvgOptions()
public SvgOptions()
Initializes a new instance of the SvgOptions class that can be used to save project in SVG format.
copyOutputPropertiesFrom(SaveOptions source)
public final void copyOutputPropertiesFrom(SaveOptions source)
Reserved for internal usage.
Parameters:
Parameter | Type | Description |
---|---|---|
source | SaveOptions | {@inheritDoc} |
deepClone()
public final SaveOptions deepClone()
Reserved for internal usage.
Returns: SaveOptions - {@inheritDoc}
getPageSavingCallback()
public final IPageSavingCallback getPageSavingCallback()
Gets a user-defined implementation callback which is used to get an output stream for each rendered page.
Returns: IPageSavingCallback - a user-defined implementation callback which is used to get an output stream for each rendered page.
getUseGradientBrush()
public boolean getUseGradientBrush()
Determines whether to use gradient brush when rendering project layout.
Currently using of gradient brush is not supported for rendering to SVG.
Returns: boolean - value indicating whether to use gradient brush when rendering project layout.
setPageSavingCallback(IPageSavingCallback value)
public final void setPageSavingCallback(IPageSavingCallback value)
Sets a user-defined implementation callback which is used to get an output stream for each rendered page.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IPageSavingCallback | a user-defined implementation callback which is used to get an output stream for each rendered page. |
setUseGradientBrush(boolean value)
public void setUseGradientBrush(boolean value)
Determines whether to use gradient brush when rendering project layout.
Currently using of gradient brush is not supported for rendering to SVG.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | value indicating whether to use gradient brush when rendering project layout. |