CodeGlyphX logo
CodeGlyphX

API Reference

Class

BarcodeSvgRenderOptions

Namespace CodeGlyphX.Rendering.Svg
Assembly CodeGlyphX
Modifiers sealed

Options for SvgBarcodeRenderer.

Inheritance

  • Object
  • BarcodeSvgRenderOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Methods

public BarcodeSvgRenderOptions WithBackgroundColor(String color) #
Returns: BarcodeSvgRenderOptions

Sets the background color (CSS value).

Parameters

color System.String requiredposition: 0
public BarcodeSvgRenderOptions WithBarColor(String color) #
Returns: BarcodeSvgRenderOptions

Sets the bar color (CSS value).

Parameters

color System.String requiredposition: 0
public BarcodeSvgRenderOptions WithHeightModules(Int32 heightModules) #
Returns: BarcodeSvgRenderOptions

Sets the barcode height in modules.

Parameters

heightModules System.Int32 requiredposition: 0
public BarcodeSvgRenderOptions WithLabelColor(String color) #
Returns: BarcodeSvgRenderOptions

Sets the label color (CSS value).

Parameters

color System.String requiredposition: 0
public BarcodeSvgRenderOptions WithLabelFontFamily(String family) #
Returns: BarcodeSvgRenderOptions

Sets the label font family.

Parameters

family System.String requiredposition: 0
public BarcodeSvgRenderOptions WithLabelFontSize(Int32 size) #
Returns: BarcodeSvgRenderOptions

Sets the label font size in pixels.

Parameters

size System.Int32 requiredposition: 0
public BarcodeSvgRenderOptions WithLabelMargin(Int32 margin) #
Returns: BarcodeSvgRenderOptions

Sets the label margin in pixels.

Parameters

margin System.Int32 requiredposition: 0
public BarcodeSvgRenderOptions WithLabelText(String text) #
Returns: BarcodeSvgRenderOptions

Sets the label text.

Parameters

text System.String requiredposition: 0
public BarcodeSvgRenderOptions WithModuleSize(Int32 size) #
Returns: BarcodeSvgRenderOptions

Sets the module size in pixels.

Parameters

size System.Int32 requiredposition: 0
public BarcodeSvgRenderOptions WithQuietZone(Int32 quietZone) #
Returns: BarcodeSvgRenderOptions

Sets the quiet zone size in modules.

Parameters

quietZone System.Int32 requiredposition: 0

Properties

public Int32 ModuleSize { get; set; } #

Gets or sets the size of a single module in pixels.

public Int32 QuietZone { get; set; } #

Gets or sets the quiet zone size in modules.

public Int32 HeightModules { get; set; } #

Gets or sets the barcode height in modules.

public String BarColor { get; set; } #

Gets or sets the bar color (CSS value).

public String BackgroundColor { get; set; } #

Gets or sets the background color (CSS value).

public String LabelText { get; set; } #

Optional label text rendered under the bars.

public Int32 LabelFontSize { get; set; } #

Label font size in pixels.

public Int32 LabelMargin { get; set; } #

Vertical margin between bars and label in pixels.

public String LabelColor { get; set; } #

Label color (CSS value).

public String LabelFontFamily { get; set; } #

Label font family.