using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JingGong.Abp.Print.GoDEX
{
///
/// 按图片打印
///
public class GoDEXPrintImageFile : GoDEXPrintImage
{
///
/// 图片地址
///
public string FilePath { get; set; }
///
/// 获取图片数据
///
///
protected override byte[] GetImageData()
{
return File.ReadAllBytes(FilePath);
}
}
}