Interface ISVGOptions
Namespace: Aspose.Slides.Export
Assembly: Aspose.Slides.dll (25.12.0)
Represents an SVG options.
[ComVisible(true)]
[Guid("2d9c9a99-9c45-4331-a02a-b5bd688fd924")]
public interface ISVGOptions : ISaveOptionsImplements
Properties
AsISaveOptions
Returns ISaveOptions interface. Read-only Aspose.Slides.Export.ISaveOptions.
ISaveOptions AsISaveOptions { get; }Property Value
Remarks
For COM compatibility.
DeletePicturesCroppedAreas
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 System.Boolean.
bool DeletePicturesCroppedAreas { get; set; }Property Value
Disable3DText
Determines whether the 3D text is disabled in SVG. Read/write System.Boolean.
bool Disable3DText { get; set; }Property Value
DisableFontLigatures
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.
bool DisableFontLigatures { get; set; }Property Value
Examples
Example:
using (Presentation pres = new Presentation("pres.pptx"))
{
SVGOptions options = new SVFOptions
{
DisableFontLigatures = true // Disable ligatures in text rendering
};
using (FileStream fileStream = new FileStream("slide-0.svg", FileMode.Create, FileAccess.Write))
{
pres.Slides[0].WriteAsSvg(fileStream);
}
}DisableGradientSplit
Disables splitting FromCornerX and FromCenter gradients. Read/write System.Boolean.
bool DisableGradientSplit { get; set; }Property Value
DisableLineEndCropping
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 System.Boolean.
bool DisableLineEndCropping { get; set; }Property Value
ExternalFontsHandling
Determines a way of handling externally loaded fonts. Read/write Aspose.Slides.Export.SvgExternalFontsHandling.
SvgExternalFontsHandling ExternalFontsHandling { get; set; }Property Value
InkOptions
Provides options that control the look of Ink objects in exported document. Read-only Aspose.Slides.Export.IInkOptions
IInkOptions InkOptions { get; }Property Value
JpegQuality
Determines JPEG encoding quality. Read/write System.Int32.
int JpegQuality { get; set; }Property Value
MetafileRasterizationDpi
Returns or sets the lower resolution limit for metafile rasterization. Read/write System.Int32.
int MetafileRasterizationDpi { get; set; }Property Value
PicturesCompression
Represents the pictures compression level Read/write Aspose.Slides.Export.ISVGOptions.PicturesCompression.
PicturesCompression PicturesCompression { get; set; }Property Value
ShapeFormattingController
Returns and sets a callback interface which allows user to control shape conversion. Read/write Aspose.Slides.Export.ISvgShapeFormattingController.
ISvgShapeFormattingController ShapeFormattingController { get; set; }Property Value
UseFrameRotation
Determines whether to perform the specified rotation of the shape when rendering or not. Read/write System.Boolean. Default value is true.
bool UseFrameRotation { get; set; }Property Value
UseFrameSize
Determines whether the text frame will be included in a rendering area or not. Read/write System.Boolean. Default value is false.
bool UseFrameSize { get; set; }Property Value
VectorizeText
Determines whether the text on a slide will be saved as graphics. Read/write System.Boolean.
bool VectorizeText { get; set; }