Class SvgOptions
- Namespace
- Aspose.Imaging.ImageOptions
- Assembly
- Aspose.Imaging.dll
Create Scalar Vector Graphics (SVG) image files with our API, utilizing versatile options for color types and compression levels. Seamlessly customize your SVG images with precision, ensuring optimal quality and compatibility for your design needs.
public class SvgOptions : ImageOptionsBase, IDisposable, IHasXmpData, IHasMetadata
- Inheritance
-
SvgOptions
- Implements
- Inherited Members
Constructors
SvgOptions()
public SvgOptions()
- See Also
Properties
Callback
Gets or sets the storing strategy for embedded resousces of SvgImage such as fonts, nested rasters.
public ISvgResourceKeeperCallback Callback { get; set; }
Property Value
- See Also
ColorType
Gets or sets the color type for SVG image.
public SvgColorMode ColorType { get; set; }
Property Value
- SvgColorMode
The type of the color of SVG image.
- See Also
Compress
Gets or sets a value indicating whether the output image must to be compressed.
public bool Compress { get; set; }
Property Value
- bool
true
if compressed; otherwise,false
.
- See Also
TextAsShapes
Gets or sets a value indicating whether text must be rendered as shapes.
public bool TextAsShapes { get; set; }
Property Value
- bool
true
if all text is turned into SVG shapes in the convertion; otherwise,false
.
- See Also