SVGOptions

SVGOptions class

Represents an SVG options.

public sealed class SVGOptions : SaveOptions, ISVGOptions

Constructors

NameDescription
SVGOptions()Initializes a new instance of the SVGOptions class.
SVGOptions(ILinkEmbedController)Initializes a new instance of the SVGOptions class specifying the link embedding controller object.

Properties

NameDescription
static Default { get; }Returns default settings. Read-only SVGOptions.
static Simple { get; }Returns settings for simpliest and smallest SVG file generation. Read-only SVGOptions.
static WYSIWYG { get; }Returns settings for most accurate SVG file generation. Read-only SVGOptions.
DefaultRegularFont { get; set; }Returns or sets font used in case source font is not found. Read-write String.
DeletePicturesCroppedAreas { get; set; }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)
Disable3DText { get; set; }Determines whether the 3D text is disabled in SVG. Read/write Boolean.
DisableGradientSplit { get; set; }Disables splitting FromCornerX and FromCenter gradients. Read/write Boolean.
DisableLineEndCropping { get; set; }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.
ExternalFontsHandling { get; set; }Determines a way of handling externally loaded fonts. Read/write SvgExternalFontsHandling.
InkOptions { get; }Provides options that control the look of Ink objects in exported document. Read-only IInkOptions
JpegQuality { get; set; }Determines JPEG encoding quality. Read/write Int32.
MetafileRasterizationDpi { get; set; }Returns or sets the lower resolution limit for metafile rasterization. Read/write Int32.
PicturesCompression { get; set; }Represents the pictures compression level
ProgressCallback { get; set; }Represents a callback object for saving progress updates in percentage. See IProgressCallback.
ShapeFormattingController { get; set; }Returns and sets a callback interface which allows user to control shape conversion. Read/write ISvgShapeFormattingController.
UseFrameRotation { get; set; }Determines whether to perform the specified rotation of the shape when rendering or not. Read/write Boolean. Default value is true.
UseFrameSize { get; set; }Determines whether the text frame will be included in a rendering area or not. Read/write Boolean. Default value is false.
VectorizeText { get; set; }Determines whether the text on a slide will be saved as graphics. Read/write Boolean.
WarningCallback { get; set; }Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback.

See Also