SVGOptions

SVGOptions class

Represents an SVG options.

The SVGOptions type exposes the following members:

Constructors

Name Description
SVGOptions() Initializes a new instance of the SVGOptions class.
SVGOptions(link_embed_controller) Initializes a new instance of the SVGOptions class

Properties

Name Description
warning_callback Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted.
Read/write IWarningCallback.
progress_callback Represents a callback object for saving progress updates in percentage.
See IProgressCallback.
default_regular_font Returns or sets font used in case source font is not found.
Read-write string.
use_frame_size Determines whether the text frame will be included in a rendering area or not.
Read/write bool.
Default value is false.
use_frame_rotation Determines whether to perform the specified rotation of the shape when rendering or not.
Read/write bool.
Default value is true.
vectorize_text Determines whether the text on a slide will be saved as graphics.
Read/write bool.
metafile_rasterization_dpi Returns or sets the lower resolution limit for metafile rasterization.
Read/write
disable_3d_text Determines whether the 3D text is disabled in SVG.
Read/write bool.
disable_gradient_split Disables splitting FromCornerX and FromCenter gradients.
Read/write bool.
disable_line_end_cropping 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 bool.
default Returns default settings.
Read-only SVGOptions.
simple Returns settings for simpliest and smallest SVG file generation.
Read-only SVGOptions.
wysiwyg Returns settings for most accurate SVG file generation.
Read-only SVGOptions.
jpeg_quality Determines JPEG encoding quality.
Read/write
shape_formatting_controller Returns and sets a callback interface which allows user to control shape conversion.
Read/write ISvgShapeFormattingController.
pictures_compression Represents the pictures compression level
delete_pictures_cropped_areas 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)
external_fonts_handling Determines a way of handling externally loaded fonts.
Read/write SvgExternalFontsHandling.
as_i_save_options Returns ISaveOptions interface.
Read-only ISaveOptions.

See Also