Class BarcodeHtmlHelper
Allows you to render barcode images from MVC Views
Inheritance
System.Object
BarcodeHtmlHelper
Namespace: Neodynamic.SDK.BarcodeCore
Assembly: Neodynamic.SDK.BarcodeCore.dll
Syntax
public class BarcodeHtmlHelper : Object
Constructors
BarcodeHtmlHelper()
Declaration
public BarcodeHtmlHelper()
Methods
EmbedBarcodeImage(String, HtmlImageFormat, String, String, String, String, String)
Creates and embeds a HTML IMG tag that displays the barcode image on a View page.
Declaration
public static string EmbedBarcodeImage(string barcodeSettings, HtmlImageFormat htmlImageFormat, string altText, string cssClass, string style, string licenseOwner = "", string licenseKey = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | barcodeSettings | The barcode settings in the form of a query string. Refer to the help docs for further details. |
HtmlImageFormat | htmlImageFormat | The HTML image format for the barcode image. |
System.String | altText | The alternate text for the barcode image. |
System.String | cssClass | The CSS Class name, if any. |
System.String | style | The HTML Style attributes, if any. |
System.String | licenseOwner | The License Owner to register the product. |
System.String | licenseKey | The License Key to register the product. |
Returns
Type | Description |
---|---|
System.String | Returns a HTML IMG tag that displays the barcode image on a View page. |