Class ComplexBarcodeGenerator
Tên không gian: Aspose.BarCode.ComplexBarcode Tổng hợp: Aspose.BarCode.dll (25.4.0)
ComplexBarcodeGenerator for backend complex barcode (ví dụ SwissQR) hình ảnh tạo.
public sealed class ComplexBarcodeGenerator : IDisposable
Inheritance
object ← ComplexBarcodeGenerator
Implements
Thành viên thừa kế
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
Mẫu này cho thấy làm thế nào để tạo và lưu một hình ảnh SwissQR.
var swissQRCodetext = new SwissQRCodetext();
swissQRCodetext.Bill.Account = "Account";
swissQRCodetext.Bill.BillInformation = "BillInformation";
// init rest of the fields
using (var cg = new ComplexBarcodeGenerator(swissQRCodetext))
{
var res = cg.GenerateBarCodeImage();
}
Constructors
ComplexBarcodeGenerator(IComplexThông tin)
Tạo một ví dụ về ComplexBarcodeGenerator.
public ComplexBarcodeGenerator(IComplexCodetext complexCodetext)
Parameters
complexCodetext
IComplexCodetext
Màn hình codetext
Properties
Parameters
Các thông số thế hệ
public BaseGenerationParameters Parameters { get; }
Giá trị bất động sản
Methods
Dispose()
public void Dispose()
GenerateBarCodeImage()
Tạo hình ảnh mã thanh phức tạp dưới các cài đặt hiện tại.
public Bitmap GenerateBarCodeImage()
Returns
Bitmap
Hình ảnh Barcode. Xem System.Drawing.Bitmap.
Save(Thông tin BarCodeImageFormat)
Tạo và lưu hình ảnh mã thanh phức tạp trong các cài đặt hiện tại.
public void Save(Stream stream, BarCodeImageFormat format)
Parameters
stream
Stream
Hệ thống phát hành.IO.Stream
format
BarCodeImageFormat
Tùy chọn định dạng tệp của hình ảnh xuất.
Save(Thẻ, BarCodeImageFormat)
Tạo và lưu hình ảnh mã thanh phức tạp trong các cài đặt hiện tại.
public void Save(string filename, BarCodeImageFormat format)
Parameters
filename
string
Con đường để tiết kiệm
format
BarCodeImageFormat
Tùy chọn định dạng tệp của hình ảnh xuất.
Save(String)
Tạo và lưu hình ảnh mã thanh phức tạp trong các cài đặt hiện tại.
public void Save(string filename)
Parameters
filename
string
Con đường để tiết kiệm