标签:binding dingo image width 条形码 单元 rebar enc asp
举个栗子:
BarcodeWriter writer = new BarcodeWriter();
writer.Format = BarcodeFormat.CODE_128;
writer.Options = new ZXing.Common.EncodingOptions
{
Height = 40,
Width = 200,
PureBarcode = true
};
MemoryStream stream = new MemoryStream();
using (var image = writer.Write("条码字符"))
{
image.Save(stream, System.Drawing.Imaging.ImageFormat.Bmp);
}
Aspose.Cells.Drawing.PictureCollection pictures = sheet.Pictures;
pictures.Add(0, 12, stream);
标签:binding dingo image width 条形码 单元 rebar enc asp
原文地址:https://www.cnblogs.com/MSIKRUBY/p/9957350.html