摘要:第一步:C#定义用于FastReport绑定的图片路径属性 [NotMapped] public string SignatureImgPath { get; set; } 第二步:SignatureImgPath 路径生成图片 第三步:FastReport模板创建,添加PictureBox 注:添
阅读全文
随笔分类 - 003 C# / FastReport
使用FastReport实现条码打印、二维码打印简介
摘要:using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.Drawin
阅读全文
摘要:public void SaveToPDF(List model, string content, string saveFilePath) { if (model == null) return; Report report = new Report(); report.LoadFromString(c...
阅读全文
摘要:FastReport Desinger中支持的Barcode类型如下图所示: 设置其Barcode属性可以实现支持不同的条码类型。 注意: 支持的条码类型说明如下: 总结: 1.通过设置Barcode属性设置条码类型; 2.通过设置Angle属性来旋转条码,仅支持0,90,180,270等值; 3.
阅读全文
摘要:以下内容在FastReport Designer 中测试通过,如下图所示: 在使用FastReport Designer创建一维吗也就是一般普通的条码时,设置其Barcode属性为Code128 (建议,以2.5cm长度的条码为例,最大输入2个字母+6个数组或者1个字母+7个数组,或者可输入纯数字1
阅读全文