public interface ISVGOptions extends ISaveOptions
Represents an SVG options.
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDeletePicturesCroppedAreas()
A boolean flag indicates if the cropped parts remain as part of the document.
|
boolean |
getDisable3DText()
Determines whether the 3D text is disabled in SVG.
|
boolean |
getDisableFontLigatures()
Gets or sets a value indicating whether text is rendered without using ligatures.
|
boolean |
getDisableGradientSplit()
Disables splitting FromCornerX and FromCenter gradients.
|
boolean |
getDisableLineEndCropping()
SVG 1.1 lacks ability to define insets for markers.
|
int |
getExternalFontsHandling()
Determines a way of handling externally loaded fonts.
|
IInkOptions |
getInkOptions()
Provides options that control the look of Ink objects in exported document.
|
int |
getJpegQuality()
Determines JPEG encoding quality.
|
int |
getMetafileRasterizationDpi()
Returns or sets the lower resolution limit for metafile rasterization.
|
int |
getPicturesCompression()
Represents the pictures compression level
Read/write
getPicturesCompression()/setPicturesCompression(int). |
ISvgShapeFormattingController |
getShapeFormattingController()
Returns and sets a callback interface which allows user to control shape conversion.
|
boolean |
getUseFrameRotation()
Determines whether to perform the specified rotation of the shape when rendering or not.
|
boolean |
getUseFrameSize()
Determines whether the text frame will be included in a rendering area or not.
|
boolean |
getVectorizeText()
Determines whether the text on a slide will be saved as graphics.
|
void |
setDeletePicturesCroppedAreas(boolean value)
A boolean flag indicates if the cropped parts remain as part of the document.
|
void |
setDisable3DText(boolean value)
Determines whether the 3D text is disabled in SVG.
|
void |
setDisableFontLigatures(boolean value)
Gets or sets a value indicating whether text is rendered without using ligatures.
|
void |
setDisableGradientSplit(boolean value)
Disables splitting FromCornerX and FromCenter gradients.
|
void |
setDisableLineEndCropping(boolean value)
SVG 1.1 lacks ability to define insets for markers.
|
void |
setExternalFontsHandling(int value)
Determines a way of handling externally loaded fonts.
|
void |
setJpegQuality(int value)
Determines JPEG encoding quality.
|
void |
setMetafileRasterizationDpi(int value)
Returns or sets the lower resolution limit for metafile rasterization.
|
void |
setPicturesCompression(int value)
Represents the pictures compression level
Read/write
getPicturesCompression()/setPicturesCompression(int). |
void |
setShapeFormattingController(ISvgShapeFormattingController value)
Returns and sets a callback interface which allows user to control shape conversion.
|
void |
setUseFrameRotation(boolean value)
Determines whether to perform the specified rotation of the shape when rendering or not.
|
void |
setUseFrameSize(boolean value)
Determines whether the text frame will be included in a rendering area or not.
|
void |
setVectorizeText(boolean value)
Determines whether the text on a slide will be saved as graphics.
|
getDefaultRegularFont, getGradientStyle, getProgressCallback, getSkipJavaScriptLinks, getWarningCallback, setDefaultRegularFont, setGradientStyle, setProgressCallback, setSkipJavaScriptLinks, setWarningCallbackboolean getVectorizeText()
Determines whether the text on a slide will be saved as graphics.
Read/write boolean.
void setVectorizeText(boolean value)
Determines whether the text on a slide will be saved as graphics.
Read/write boolean.
int getMetafileRasterizationDpi()
Returns or sets the lower resolution limit for metafile rasterization.
Read/write int.
void setMetafileRasterizationDpi(int value)
Returns or sets the lower resolution limit for metafile rasterization.
Read/write int.
boolean getDisable3DText()
Determines whether the 3D text is disabled in SVG.
Read/write boolean.
void setDisable3DText(boolean value)
Determines whether the 3D text is disabled in SVG.
Read/write boolean.
boolean getDisableGradientSplit()
Disables splitting FromCornerX and FromCenter gradients.
Read/write boolean.
void setDisableGradientSplit(boolean value)
Disables splitting FromCornerX and FromCenter gradients.
Read/write boolean.
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.
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.
int getJpegQuality()
Determines JPEG encoding quality.
Read/write int.
void setJpegQuality(int value)
Determines JPEG encoding quality.
Read/write int.
ISvgShapeFormattingController getShapeFormattingController()
Returns and sets a callback interface which allows user to control shape conversion.
Read/write ISvgShapeFormattingController.
void setShapeFormattingController(ISvgShapeFormattingController value)
Returns and sets a callback interface which allows user to control shape conversion.
Read/write ISvgShapeFormattingController.
int getPicturesCompression()
Represents the pictures compression level
Read/write getPicturesCompression()/setPicturesCompression(int).
void setPicturesCompression(int value)
Represents the pictures compression level
Read/write getPicturesCompression()/setPicturesCompression(int).
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.
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.
boolean getUseFrameSize()
Determines whether the text frame will be included in a rendering area or not.
Read/write boolean.
Default value is false.
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.
boolean getUseFrameRotation()
Determines whether to perform the specified rotation of the shape when rendering or not.
Read/write boolean.
Default value is true.
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.
int getExternalFontsHandling()
Determines a way of handling externally loaded fonts.
Read/write SvgExternalFontsHandling.
void setExternalFontsHandling(int value)
Determines a way of handling externally loaded fonts.
Read/write SvgExternalFontsHandling.
IInkOptions getInkOptions()
Provides options that control the look of Ink objects in exported document.
Read-only IInkOptions
boolean getDisableFontLigatures()
Gets or sets a value indicating whether text is rendered without using ligatures. When set to true, ligatures will be disabled in the rendered output. By default, this property is set to false.
Example:Presentation pres = new Presentation("pres.pptx"); try { SVGOptions options = new SVGOptions(); options.setDisableFontLigatures(true); FileOutputStream fileStream = new FileOutputStream("slide-0.svg"); pres.getSlides().get_Item(0).writeAsSvg(fileStream); } finally { if (pres != null) pres.dispose(); }
void setDisableFontLigatures(boolean value)
Gets or sets a value indicating whether text is rendered without using ligatures. When set to true, ligatures will be disabled in the rendered output. By default, this property is set to false.
Example:Presentation pres = new Presentation("pres.pptx"); try { SVGOptions options = new SVGOptions(); options.setDisableFontLigatures(true); FileOutputStream fileStream = new FileOutputStream("slide-0.svg"); pres.getSlides().get_Item(0).writeAsSvg(fileStream); } finally { if (pres != null) pres.dispose(); }
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.