|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.SaveOptions
com.aspose.slides.SVGOptions
public final class SVGOptions
Represents an SVG options.
Constructor Summary | |
---|---|
SVGOptions()
Initializes a new instance of the SVGOptions class. |
|
SVGOptions(ILinkEmbedController linkEmbedController)
Initializes a new instance of the SVGOptions class specifying the link embedding controller object. |
Method Summary | |
---|---|
static SVGOptions |
getDefault()
Returns default settings. |
boolean |
getDisable3DText()
Determines whether the 3D text is disabled in SVG. |
boolean |
getDisableGradientSplit()
Disables splitting FromCornerX and FromCenter gradients. |
boolean |
getDisableLineEndCropping()
SVG 1.1 lacks ability to define insets for markers. |
int |
getJpegQuality()
Determines JPEG encoding quality |
int |
getMetafileRasterizationDpi()
Returns or sets the lower resolution limit for metafile rasterization. |
ISvgShapeFormattingController |
getShapeFormattingController()
Returns and sets a callback interface which allows user to control shape conversion. |
static SVGOptions |
getSimple()
Returns settings for simpliest and smallest SVG file generation. |
boolean |
getVectorizeText()
Determines whether the text on a slide will be saved as graphics. |
static SVGOptions |
getWYSIWYG()
Returns settings for most accurate SVG file generation. |
void |
setDisable3DText(boolean value)
|
void |
setDisableGradientSplit(boolean value)
|
void |
setDisableLineEndCropping(boolean value)
|
void |
setJpegQuality(int value)
|
void |
setMetafileRasterizationDpi(int value)
|
void |
setShapeFormattingController(ISvgShapeFormattingController value)
|
void |
setVectorizeText(boolean value)
|
Methods inherited from class com.aspose.slides.SaveOptions |
---|
getWarningCallback, setWarningCallback |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.aspose.slides.ISaveOptions |
---|
getWarningCallback, setWarningCallback |
Constructor Detail |
---|
public SVGOptions()
Initializes a new instance of the SVGOptions class.
public SVGOptions(ILinkEmbedController linkEmbedController)
Initializes a new instance of the SVGOptions class specifying the link embedding controller object.
linkEmbedController
- The link embedding controller reference.
ILinkEmbedController
Method Detail |
---|
public boolean getVectorizeText()
Determines whether the text on a slide will be saved as graphics.
Read/write bool
.
getVectorizeText
in interface ISVGOptions
public void setVectorizeText(boolean value)
setVectorizeText
in interface ISVGOptions
public int getMetafileRasterizationDpi()
Returns or sets the lower resolution limit for metafile rasterization.
Read/write int
.
getMetafileRasterizationDpi
in interface ISVGOptions
public void setMetafileRasterizationDpi(int value)
setMetafileRasterizationDpi
in interface ISVGOptions
public boolean getDisable3DText()
Determines whether the 3D text is disabled in SVG.
Read/write bool
.
getDisable3DText
in interface ISVGOptions
public void setDisable3DText(boolean value)
setDisable3DText
in interface ISVGOptions
public boolean getDisableGradientSplit()
Disables splitting FromCornerX and FromCenter gradients.
Read/write bool
.
getDisableGradientSplit
in interface ISVGOptions
public void setDisableGradientSplit(boolean value)
setDisableGradientSplit
in interface ISVGOptions
public 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.
getDisableLineEndCropping
in interface ISVGOptions
public void setDisableLineEndCropping(boolean value)
setDisableLineEndCropping
in interface ISVGOptions
public static SVGOptions getDefault()
Returns default settings.
public static SVGOptions getSimple()
Returns settings for simpliest and smallest SVG file generation.
public static SVGOptions getWYSIWYG()
Returns settings for most accurate SVG file generation.
public int getJpegQuality()
Determines JPEG encoding quality
getJpegQuality
in interface ISVGOptions
public void setJpegQuality(int value)
setJpegQuality
in interface ISVGOptions
public ISvgShapeFormattingController getShapeFormattingController()
Returns and sets a callback interface which allows user to control shape conversion.
getShapeFormattingController
in interface ISVGOptions
public void setShapeFormattingController(ISvgShapeFormattingController value)
setShapeFormattingController
in interface ISVGOptions
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |