添加项目文件。

This commit is contained in:
李捷
2025-07-12 16:20:14 +08:00
parent 67f108002e
commit fa5bf23c08
35 changed files with 1574 additions and 0 deletions

View File

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