ISVGOptions

All Implemented Interfaces: com.aspose.slides.ISaveOptions

public interface ISVGOptions extends ISaveOptions

Represents an SVG options.

Methods

MethodDescription
getVectorizeText()Determines whether the text on a slide will be saved as graphics.
setVectorizeText(boolean value)Determines whether the text on a slide will be saved as graphics.
getMetafileRasterizationDpi()Returns or sets the lower resolution limit for metafile rasterization.
setMetafileRasterizationDpi(int value)Returns or sets the lower resolution limit for metafile rasterization.
getDisable3DText()Determines whether the 3D text is disabled in SVG.
setDisable3DText(boolean value)Determines whether the 3D text is disabled in SVG.
getDisableGradientSplit()Disables splitting FromCornerX and FromCenter gradients.
setDisableGradientSplit(boolean value)Disables splitting FromCornerX and FromCenter gradients.
getDisableLineEndCropping()SVG 1.1 lacks ability to define insets for markers.
setDisableLineEndCropping(boolean value)SVG 1.1 lacks ability to define insets for markers.
getJpegQuality()Determines JPEG encoding quality.
setJpegQuality(int value)Determines JPEG encoding quality.
getShapeFormattingController()Returns and sets a callback interface which allows user to control shape conversion.
setShapeFormattingController(ISvgShapeFormattingController value)Returns and sets a callback interface which allows user to control shape conversion.
getPicturesCompression()Represents the pictures compression level Read/write #getPicturesCompression.getPicturesCompression/#setPicturesCompression(int).setPicturesCompression(int).
setPicturesCompression(int value)Represents the pictures compression level Read/write #getPicturesCompression.getPicturesCompression/#setPicturesCompression(int).setPicturesCompression(int).
getDeletePicturesCroppedAreas()A boolean flag indicates if the cropped parts remain as part of the document.
setDeletePicturesCroppedAreas(boolean value)A boolean flag indicates if the cropped parts remain as part of the document.
getUseFrameSize()Determines whether the text frame will be included in a rendering area or not.
setUseFrameSize(boolean value)Determines whether the text frame will be included in a rendering area or not.
getUseFrameRotation()Determines whether to perform the specified rotation of the shape when rendering or not.
setUseFrameRotation(boolean value)Determines whether to perform the specified rotation of the shape when rendering or not.
getExternalFontsHandling()Determines a way of handling externally loaded fonts.
setExternalFontsHandling(int value)Determines a way of handling externally loaded fonts.
getInkOptions()Provides options that control the look of Ink objects in exported document.

getVectorizeText()

public abstract boolean getVectorizeText()

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

Returns: boolean

setVectorizeText(boolean value)

public abstract void setVectorizeText(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

getMetafileRasterizationDpi()

public abstract int getMetafileRasterizationDpi()

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

Returns: int

setMetafileRasterizationDpi(int value)

public abstract void setMetafileRasterizationDpi(int value)

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

Parameters:

ParameterTypeDescription
valueint

getDisable3DText()

public abstract boolean getDisable3DText()

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

Returns: boolean

setDisable3DText(boolean value)

public abstract void setDisable3DText(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

getDisableGradientSplit()

public abstract boolean getDisableGradientSplit()

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

Returns: boolean

setDisableGradientSplit(boolean value)

public abstract void setDisableGradientSplit(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

getDisableLineEndCropping()

public abstract 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.

Returns: boolean

setDisableLineEndCropping(boolean value)

public abstract 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.

Parameters:

ParameterTypeDescription
valueboolean

getJpegQuality()

public abstract int getJpegQuality()

Determines JPEG encoding quality. Read/write int.

Returns: int

setJpegQuality(int value)

public abstract void setJpegQuality(int value)

Determines JPEG encoding quality. Read/write int.

Parameters:

ParameterTypeDescription
valueint

getShapeFormattingController()

public abstract ISvgShapeFormattingController getShapeFormattingController()

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

Returns: ISvgShapeFormattingController

setShapeFormattingController(ISvgShapeFormattingController value)

public abstract void setShapeFormattingController(ISvgShapeFormattingController value)

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

Parameters:

ParameterTypeDescription
valueISvgShapeFormattingController

getPicturesCompression()

public abstract int getPicturesCompression()

Represents the pictures compression level Read/write #getPicturesCompression.getPicturesCompression/#setPicturesCompression(int).setPicturesCompression(int).

Returns: int

setPicturesCompression(int value)

public abstract void setPicturesCompression(int value)

Represents the pictures compression level Read/write #getPicturesCompression.getPicturesCompression/#setPicturesCompression(int).setPicturesCompression(int).

Parameters:

ParameterTypeDescription
valueint

getDeletePicturesCroppedAreas()

public abstract 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) Read/write boolean.

Returns: boolean

setDeletePicturesCroppedAreas(boolean value)

public abstract 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) Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getUseFrameSize()

public abstract boolean getUseFrameSize()

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

Returns: boolean

setUseFrameSize(boolean value)

public abstract void setUseFrameSize(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

getUseFrameRotation()

public abstract boolean getUseFrameRotation()

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

Returns: boolean

setUseFrameRotation(boolean value)

public abstract void setUseFrameRotation(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

getExternalFontsHandling()

public abstract int getExternalFontsHandling()

Determines a way of handling externally loaded fonts. Read/write SvgExternalFontsHandling.

Returns: int

setExternalFontsHandling(int value)

public abstract void setExternalFontsHandling(int value)

Determines a way of handling externally loaded fonts. Read/write SvgExternalFontsHandling.

Parameters:

ParameterTypeDescription
valueint

getInkOptions()

public abstract IInkOptions getInkOptions()

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

Returns: IInkOptions