SVGOptions

SVGOptions class

Represents an SVG options.

SVGOptions

NameDescription
SVGOptions()Initializes a new instance of the SVGOptions class.

Returns: SVGOptions


SVGOptions

NameDescription
SVGOptions(VideoPlayerHtmlController)Initializes a new instance of the SVGOptions class specifying the link embedding controller object.

Parameters:

NameTypeDescription
linkEmbedControllerVideoPlayerHtmlControllerThe 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.

Returns: SVGOptions


getDefault

NameDescription
getDefault ()Returns default settings. Read-only SVGOptions.

Returns: SVGOptions


getDeletePicturesCroppedAreas

NameDescription
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)

Returns: boolean


getDisable3DText

NameDescription
getDisable3DText ()Determines whether the 3D text is disabled in SVG. Read/write boolean.

Returns: boolean


getDisableGradientSplit

NameDescription
getDisableGradientSplit ()Disables splitting FromCornerX and FromCenter gradients. Read/write boolean.

Returns: boolean


getDisableLineEndCropping

NameDescription
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.

Returns: boolean


getExternalFontsHandling

NameDescription
getExternalFontsHandling ()Determines a way of handling externally loaded fonts. Read/write SvgExternalFontsHandling.

Returns: int


getInkOptions

NameDescription
getInkOptions ()Provides options that control the look of Ink objects in exported document. Read-only IInkOptions

Returns: InkOptions


getJpegQuality

NameDescription
getJpegQuality ()Determines JPEG encoding quality. Read/write int.

Returns: int


getMetafileRasterizationDpi

NameDescription
getMetafileRasterizationDpi ()Returns or sets the lower resolution limit for metafile rasterization. Read/write int.

Returns: int


getPicturesCompression

NameDescription
getPicturesCompression ()Represents the pictures compression level

Returns: int


getShapeFormattingController

NameDescription
getShapeFormattingController ()Returns and sets a callback interface which allows user to control shape conversion. Read/write ISvgShapeFormattingController.

Returns: VideoPlayerHtmlController


getSimple

NameDescription
getSimple ()Returns settings for simpliest and smallest SVG file generation. Read-only SVGOptions.

Returns: SVGOptions


getUseFrameRotation

NameDescription
getUseFrameRotation ()Determines whether to perform the specified rotation of the shape when rendering or not. Read/write boolean. Default value is true.

Returns: boolean


getUseFrameSize

NameDescription
getUseFrameSize ()Determines whether the text frame will be included in a rendering area or not. Read/write boolean. Default value is false.

Returns: boolean


getVectorizeText

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

Returns: boolean


getWYSIWYG

NameDescription
getWYSIWYG ()Returns settings for most accurate SVG file generation. Read-only SVGOptions.

Returns: SVGOptions


setDeletePicturesCroppedAreas

NameDescription
setDeletePicturesCroppedAreas (boolean)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)

Returns: void


setDisable3DText

NameDescription
setDisable3DText (boolean)Determines whether the 3D text is disabled in SVG. Read/write boolean.

Returns: void


setDisableGradientSplit

NameDescription
setDisableGradientSplit (boolean)Disables splitting FromCornerX and FromCenter gradients. Read/write boolean.

Returns: void


setDisableLineEndCropping

NameDescription
setDisableLineEndCropping (boolean)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.

Returns: void


setExternalFontsHandling

NameDescription
setExternalFontsHandling (int)Determines a way of handling externally loaded fonts. Read/write SvgExternalFontsHandling.

Returns: void


setJpegQuality

NameDescription
setJpegQuality (int)Determines JPEG encoding quality. Read/write int.

Returns: void


setMetafileRasterizationDpi

NameDescription
setMetafileRasterizationDpi (int)Returns or sets the lower resolution limit for metafile rasterization. Read/write int.

Returns: void


setPicturesCompression

NameDescription
setPicturesCompression (int)Represents the pictures compression level

Returns: void


setShapeFormattingController

NameDescription
setShapeFormattingController (VideoPlayerHtmlController)Returns and sets a callback interface which allows user to control shape conversion. Read/write ISvgShapeFormattingController.

Returns: void


setUseFrameRotation

NameDescription
setUseFrameRotation (boolean)Determines whether to perform the specified rotation of the shape when rendering or not. Read/write boolean. Default value is true.

Returns: void


setUseFrameSize

NameDescription
setUseFrameSize (boolean)Determines whether the text frame will be included in a rendering area or not. Read/write boolean. Default value is false.

Returns: void


setVectorizeText

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

Returns: void