SVGOptions

SVGOptions class

Represents an SVG options.

SVGOptions

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

Result: 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.

Result: SVGOptions


getDefault

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

Result: SVGOptions


getDefaultRegularFont

NameDescription
getDefaultRegularFont()Returns or sets font used in case source font is not found. Read-write String.

Result: String


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)

Result: boolean


getDisable3DText

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

Result: boolean


getDisableGradientSplit

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

Result: 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.

Result: boolean


getExternalFontsHandling

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

Result: int


getJpegQuality

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

Result: int


getMetafileRasterizationDpi

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

Result: int


getPicturesCompression

NameDescription
getPicturesCompression()Represents the pictures compression level

Result: int


getProgressCallback

NameDescription
getProgressCallback()Represents a callback object for saving progress updates in percentage. See IProgressCallback.

Result: IProgressCallback


getShapeFormattingController

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

Result: VideoPlayerHtmlController


getSimple

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

Result: 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.

Result: 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.

Result: boolean


getVectorizeText

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

Result: boolean


getWYSIWYG

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

Result: SVGOptions


getWarningCallback

NameDescription
getWarningCallback()Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback.

Result: IWarningCallback


setDefaultRegularFont

NameDescription
setDefaultRegularFont(String)Returns or sets font used in case source font is not found. Read-write String.

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)

setDisable3DText

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

setDisableGradientSplit

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

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.

setExternalFontsHandling

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

setJpegQuality

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

setMetafileRasterizationDpi

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

setPicturesCompression

NameDescription
setPicturesCompression(int)Represents the pictures compression level

setProgressCallback

NameDescription
setProgressCallback(IProgressCallback)Represents a callback object for saving progress updates in percentage. See IProgressCallback.

setShapeFormattingController

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

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.

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.

setVectorizeText

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

setWarningCallback

NameDescription
setWarningCallback(IWarningCallback)Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback.