com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class SVGOptions

    • Constructor Detail

      • SVGOptions

        public SVGOptions()

        Initializes a new instance of the SVGOptions class.

      • SVGOptions

        public SVGOptions(ILinkEmbedController linkEmbedController)

        Initializes a new instance of the SVGOptions class specifying the link embedding controller object.

        Parameters:
        linkEmbedController - The link embedding controller reference.


        Link embedding controller is a delegate object that is responsible for making decisions if resources (such as images) need to be embedded or referenced as external resources.

        See Also:
        ILinkEmbedController
    • Method Detail

      • getVectorizeText

        public final boolean getVectorizeText()

        Determines whether the text on a slide will be saved as graphics. Read/write boolean.

        Specified by:
        getVectorizeText in interface ISVGOptions
      • setVectorizeText

        public final void setVectorizeText(boolean value)

        Determines whether the text on a slide will be saved as graphics. Read/write boolean.

        Specified by:
        setVectorizeText in interface ISVGOptions
      • getMetafileRasterizationDpi

        public final int getMetafileRasterizationDpi()

        Returns or sets the lower resolution limit for metafile rasterization. Read/write int.

        Specified by:
        getMetafileRasterizationDpi in interface ISVGOptions
      • setMetafileRasterizationDpi

        public final void setMetafileRasterizationDpi(int value)

        Returns or sets the lower resolution limit for metafile rasterization. Read/write int.

        Specified by:
        setMetafileRasterizationDpi in interface ISVGOptions
      • getDisable3DText

        public final boolean getDisable3DText()

        Determines whether the 3D text is disabled in SVG. Read/write boolean.

        Specified by:
        getDisable3DText in interface ISVGOptions
      • setDisable3DText

        public final void setDisable3DText(boolean value)

        Determines whether the 3D text is disabled in SVG. Read/write boolean.

        Specified by:
        setDisable3DText in interface ISVGOptions
      • getDisableGradientSplit

        public final boolean getDisableGradientSplit()

        Disables splitting FromCornerX and FromCenter gradients. Read/write boolean.

        Specified by:
        getDisableGradientSplit in interface ISVGOptions
      • setDisableGradientSplit

        public final void setDisableGradientSplit(boolean value)

        Disables splitting FromCornerX and FromCenter gradients. Read/write boolean.

        Specified by:
        setDisableGradientSplit in interface ISVGOptions
      • getDisableLineEndCropping

        public final boolean getDisableLineEndCropping()

        SVG 1.1 lacks ability to define insets for markers. Aspose.Slides SVG writing engine has workaround for that problem: it crops end of line with arrow, so, line doesn't overlap markers. This option switches off such behavior. Read/write boolean.

        Specified by:
        getDisableLineEndCropping in interface ISVGOptions
      • setDisableLineEndCropping

        public final void setDisableLineEndCropping(boolean value)

        SVG 1.1 lacks ability to define insets for markers. Aspose.Slides SVG writing engine has workaround for that problem: it crops end of line with arrow, so, line doesn't overlap markers. This option switches off such behavior. Read/write boolean.

        Specified by:
        setDisableLineEndCropping in interface ISVGOptions
      • getDefault

        public static SVGOptions getDefault()

        Returns default settings. Read-only SVGOptions.

      • getSimple

        public static SVGOptions getSimple()

        Returns settings for simpliest and smallest SVG file generation. Read-only SVGOptions.

      • getWYSIWYG

        public static SVGOptions getWYSIWYG()

        Returns settings for most accurate SVG file generation. Read-only SVGOptions.

      • getJpegQuality

        public final int getJpegQuality()

        Determines JPEG encoding quality. Read/write int.

        Specified by:
        getJpegQuality in interface ISVGOptions
      • setJpegQuality

        public final void setJpegQuality(int value)

        Determines JPEG encoding quality. Read/write int.

        Specified by:
        setJpegQuality in interface ISVGOptions
      • getPicturesCompression

        public final int getPicturesCompression()

        Represents the pictures compression level

        Specified by:
        getPicturesCompression in interface ISVGOptions
      • setPicturesCompression

        public final void setPicturesCompression(int value)

        Represents the pictures compression level

        Specified by:
        setPicturesCompression in interface ISVGOptions
      • getDeletePicturesCroppedAreas

        public final boolean getDeletePicturesCroppedAreas()

        A boolean flag indicates if the cropped parts remain as part of the document. If true the cropped parts will removed, if false they will be serialized in the document (which can possible lead to a larger file)

        Specified by:
        getDeletePicturesCroppedAreas in interface ISVGOptions
      • setDeletePicturesCroppedAreas

        public final void setDeletePicturesCroppedAreas(boolean value)

        A boolean flag indicates if the cropped parts remain as part of the document. If true the cropped parts will removed, if false they will be serialized in the document (which can possible lead to a larger file)

        Specified by:
        setDeletePicturesCroppedAreas in interface ISVGOptions