BarCodeHtmlHelper
BarCode Method
|
Generates the barcode tags to render to barcode expressed in the input
settings
.
Namespace:
Spire.Barcode.WebUI
Assembly:
Spire.Barcode (in Spire.Barcode.dll) Version: 7.3.7.0 (7.3.7.9046)
Syntax
public static string BarCode(
IBarcodeSettings settings,
string barCodeHandlerUrl
)
Public Shared Function BarCode (
settings As IBarcodeSettings,
barCodeHandlerUrl As String
) As String
public:
static String^ BarCode(
IBarcodeSettings^ settings,
String^ barCodeHandlerUrl
)
static member BarCode :
settings : IBarcodeSettings *
barCodeHandlerUrl : string -> string
Parameters
-
settings
-
Type:
Spire.Barcode
IBarcodeSettings
Settings for the barcode to render.
-
barCodeHandlerUrl
-
Type:
System
String
URL for the barcode image rendering HTTP handler.
Must be registered in web.config, pointing to
BarCodeHandler
.
Return Value
Type:
String
See Also