Class SvgParameters
Namespace: Aspose.BarCode.Generation
Assembly: Aspose.BarCode.dll (25.2.0)
SVG parameters.
[XmlSerialization(Name = "Aspose.BarCode.Reader.Properties.SvgParameters")]
public class SvgParameters
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
IsExplicitSizeInPixels
Does SVG image contain explicit size in pixels (recommended) Default value: true.
[XmlSerialization(Type = XmlSerializationType.Element)]
public bool IsExplicitSizeInPixels { get; set; }
Property Value
IsTextDrawnInTextElement
Does SVG image contain text as text element rather than paths (recommended) Default value: true.
[XmlSerialization(Type = XmlSerializationType.Element)]
public bool IsTextDrawnInTextElement { get; set; }
Property Value
SvgColorMode
Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1. RGBA, HSL, HSLA is allowed in SVG 2.0 standard. Even in RGB opacity will be set through “fill-opacity” parameter
[XmlSerialization(Type = XmlSerializationType.Element)]
public SvgColorMode SvgColorMode { get; set; }