Table of Contents

Class SvgRenderer.SvgImage

Namespace
ZXing.Rendering
Assembly
zxing.dll

Represents a barcode as a Svg image

public class SvgRenderer.SvgImage
Inheritance
SvgRenderer.SvgImage
Inherited Members

Constructors

SvgImage()

Initializes a new instance of the SvgRenderer.SvgImage class.

public SvgImage()

SvgImage(int, int)

Initializes a new instance of the SvgRenderer.SvgImage class.

public SvgImage(int width, int height)

Parameters

width int
height int

SvgImage(string)

Initializes a new instance of the SvgRenderer.SvgImage class.

public SvgImage(string content)

Parameters

content string

The content.

Properties

Content

Gets or sets the content.

public string Content { get; set; }

Property Value

string

The content.

Height

The original height of the bitmatrix for the barcode

public int Height { get; set; }

Property Value

int

Width

The original width of the bitmatrix for the barcode

public int Width { get; set; }

Property Value

int

Methods

ToString()

Gives the XML representation of the SVG image

public override string ToString()

Returns

string