Package com.aspose.tasks
Class SvgOptions
- java.lang.Object
-
- com.aspose.tasks.SaveOptions
-
- com.aspose.tasks.SvgOptions
-
public class SvgOptions extends SaveOptions
Allows to specify additional options when rendering project pages to SVG.
-
-
Constructor Summary
Constructors Constructor Description SvgOptions()Initializes a new instance of theSvgOptionsclass that can be used to save project in SVG format.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyOutputPropertiesFrom(SaveOptions source)SaveOptionsdeepClone()IPageSavingCallbackgetPageSavingCallback()Gets a user-defined implementation callback which is used to get an output stream for each rendered page.booleangetUseGradientBrush()Determines whether to use gradient brush when rendering project layout.voidsetPageSavingCallback(IPageSavingCallback value)Sets a user-defined implementation callback which is used to get an output stream for each rendered page.voidsetUseGradientBrush(boolean value)Determines whether to use gradient brush when rendering project layout.-
Methods inherited from class com.aspose.tasks.SaveOptions
getBarStyles, getCustomPageSize, getDrawNonWorkingTime, getEndDate, getFitContent, getGridlines, getLegendOnEachPage, getMarkCriticalTasks, getNonWorkingTimeColor, getPageCount, getPageSize, getPresentationFormat, getRenderToSinglePage, getRollUpGanttBars, getSaveFormat, getStartDate, getTasksComparer, getTasksFilter, getTextStyles, getTimescale, getView, getViewSettings, setBarStyles, setCustomPageSize, setDrawNonWorkingTime, setEndDate, setFitContent, setGridlines, setLegendOnEachPage, setMarkCriticalTasks, setNonWorkingTimeColor, setPageSize, setPresentationFormat, setRenderToSinglePage, setRollUpGanttBars, setStartDate, setTasksComparer, setTasksFilter, setTextStyles, setTimescale, setView, setViewSettings
-
-
-
-
Constructor Detail
-
SvgOptions
public SvgOptions()
Initializes a new instance of the
SvgOptionsclass that can be used to save project in SVG format.
-
-
Method Detail
-
copyOutputPropertiesFrom
public final void copyOutputPropertiesFrom(SaveOptions source)
- Parameters:
source-
-
deepClone
public final SaveOptions deepClone()
- Returns:
-
getPageSavingCallback
public final IPageSavingCallback getPageSavingCallback()
Gets a user-defined implementation callback which is used to get an output stream for each rendered page.
- Returns:
- a user-defined implementation callback which is used to get an output stream for each rendered page.
-
setPageSavingCallback
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:
value- 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.- Overrides:
getUseGradientBrushin classSaveOptions- Returns:
- value indicating whether to use gradient brush when rendering project layout.
-
setUseGradientBrush
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.- Overrides:
setUseGradientBrushin classSaveOptions- Parameters:
value- value indicating whether to use gradient brush when rendering project layout.
-
-