API Reference
BarcodeSvgRenderOptions
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.
Returned or exposed by
- Method BarcodeSvgRenderOptions.WithBackgroundColor
- Method BarcodeSvgRenderOptions.WithBarColor
- Method BarcodeSvgRenderOptions.WithHeightModules
- Method BarcodeSvgRenderOptions.WithLabelColor
- Method BarcodeSvgRenderOptions.WithLabelFontFamily
- Method BarcodeSvgRenderOptions.WithLabelFontSize
- Method BarcodeSvgRenderOptions.WithLabelMargin
- Method BarcodeSvgRenderOptions.WithLabelText
- Method BarcodeSvgRenderOptions.WithModuleSize
- Method BarcodeSvgRenderOptions.WithQuietZone
Accepted by parameters
- Method SvgBarcodeRenderer.Render
- Method SvgBarcodeRenderer.RenderToFile
- Method SvgBarcodeRenderer.RenderToFile
- Method SvgBarcodeRenderer.RenderToStream
- Method BarcodeSvgzRenderer.Render
- Method BarcodeSvgzRenderer.RenderToFile
- Method BarcodeSvgzRenderer.RenderToFile
- Method BarcodeSvgzRenderer.RenderToStream
Constructors
public BarcodeSvgRenderOptions() #Methods
public BarcodeSvgRenderOptions WithBackgroundColor(String color) #BarcodeSvgRenderOptionsSets the background color (CSS value).
Parameters
- color System.String
public BarcodeSvgRenderOptions WithBarColor(String color) #BarcodeSvgRenderOptionsSets the bar color (CSS value).
Parameters
- color System.String
public BarcodeSvgRenderOptions WithHeightModules(Int32 heightModules) #BarcodeSvgRenderOptionsSets the barcode height in modules.
Parameters
- heightModules System.Int32
public BarcodeSvgRenderOptions WithLabelColor(String color) #BarcodeSvgRenderOptionsSets the label color (CSS value).
Parameters
- color System.String
public BarcodeSvgRenderOptions WithLabelFontFamily(String family) #BarcodeSvgRenderOptionsSets the label font family.
Parameters
- family System.String
public BarcodeSvgRenderOptions WithLabelFontSize(Int32 size) #BarcodeSvgRenderOptionsSets the label font size in pixels.
Parameters
- size System.Int32
public BarcodeSvgRenderOptions WithLabelMargin(Int32 margin) #BarcodeSvgRenderOptionsSets the label margin in pixels.
Parameters
- margin System.Int32
public BarcodeSvgRenderOptions WithLabelText(String text) #BarcodeSvgRenderOptionsSets the label text.
Parameters
- text System.String
public BarcodeSvgRenderOptions WithModuleSize(Int32 size) #BarcodeSvgRenderOptionsSets the module size in pixels.
Parameters
- size System.Int32
public BarcodeSvgRenderOptions WithQuietZone(Int32 quietZone) #BarcodeSvgRenderOptionsSets the quiet zone size in modules.
Parameters
- quietZone System.Int32
Inherited Methods
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.