com.aspose.tasks

Interfaces

Classes

Exceptions

Class SvgOptions


  • public class SvgOptions
    extends SaveOptions

    Allows to specify additional options when rendering project pages to SVG.

    • Constructor Detail

      • SvgOptions

        public SvgOptions()

        Initializes a new instance of the SvgOptions class 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:
        getUseGradientBrush in class SaveOptions
        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:
        setUseGradientBrush in class SaveOptions
        Parameters:
        value - value indicating whether to use gradient brush when rendering project layout.