SvgParameters

SvgParameters class

Namespace: Aspose.Barcode.Generation

SVG parameters.

Constructors

NameDescription
__construct

Methods

NameStaticDescription
isExplicitSizeInPixelsNoDoes SVG image contain explicit size in pixels (recommended) Default value: true.
isTextDrawnInTextElementNoDoes SVG image contain text as text element rather than paths (recommended) Default value: true.
setExplicitSizeInPixelsNoDoes SVG image contain explicit size in pixels (recommended) Default value: true.
setTextDrawnInTextElementNoDoes SVG image contain text as text element rather than paths (recommended) Default value: true.

Properties

NameRead/WriteDescription
SvgColorModeRead/WritePossible 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