BootstrapBlazor.BarcodeGenerator
0.1.1
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package BootstrapBlazor.BarcodeGenerator --version 0.1.1
NuGet\Install-Package BootstrapBlazor.BarcodeGenerator -Version 0.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BootstrapBlazor.BarcodeGenerator" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BootstrapBlazor.BarcodeGenerator --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BootstrapBlazor.BarcodeGenerator, 0.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BootstrapBlazor.BarcodeGenerator as a Cake Addin #addin nuget:?package=BootstrapBlazor.BarcodeGenerator&version=0.1.1 // Install BootstrapBlazor.BarcodeGenerator as a Cake Tool #tool nuget:?package=BootstrapBlazor.BarcodeGenerator&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Blazor BarcodeGenerator 条码生成器 组件
基于JsBarcode
示例:
https://www.blazor.zone/BarcodeGenerators
https://blazor.app1.es/BarcodeGenerators
使用方法:
1.nuget包
BootstrapBlazor.BarcodeGenerator
2._Imports.razor 文件 或者页面添加 添加组件库引用
@using BootstrapBlazor.Components
3.razor页面
<BarCodeGenerator Value="@value"/>
<BarCodeGenerator Type="EnumBarcodeType.CODE128" Value="@value"/>
<BarCodeGenerator Type="EnumBarcodeType.EAN13" Value="@value"/>
<BarCodeGenerator Type="EnumBarcodeType.EAN8" Value="@value"/>
<BarCodeGenerator Type="EnumBarcodeType.EAN5" Value="@value"/>
<BarCodeGenerator Type="EnumBarcodeType.EAN2" Value="@value"/>
<BarCodeGenerator Type="EnumBarcodeType.UPC" Value="@value"/>
<BarCodeGenerator Type="EnumBarcodeType.CODE39" Value="@value"/>
<BarCodeGenerator Type="EnumBarcodeType.ITF14" Value="@value"/>
<BarCodeGenerator Type="EnumBarcodeType.MSI" Value="@value"/>
<BarCodeGenerator Type="EnumBarcodeType.pharmacode" Value="@value"/>
4.参数说明
类型 | 参数 | 说明 | 默认值 |
---|---|---|---|
EnumBarcodeType | Type | 条码类型/ Barcode type | |
string | Value | 条码值/ Barcode value | |
BarcodeGeneratorOption | Options | 选项/Options | |
Task | GenerateBarcode | 条码生成/ Barcode generated | |
Func<Stream, Task> | OnResult | 条码生成(svg)回调方法/ Barcode generated(svg) callback method | |
Func<string, Task>? | OnError | 错误回调 |
更新历史
Blazor 组件
AlexChow
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on BootstrapBlazor.BarcodeGenerator:
Package | Downloads |
---|---|
BootstrapBlazor.Densen.All
Blazor 组件懒人包 |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on BootstrapBlazor.BarcodeGenerator:
Repository | Stars |
---|---|
dotnetcore/BootstrapBlazor
Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.
|