using JNPF.DependencyInjection; namespace JNPF.Extend.Entitys.Dto.DocumentPreview; /// /// 预览文档. /// [SuppressSniffer] public class DocumentPreviewPreviewInput { /// /// 文件id. /// public string? fileId { get; set; } /// /// 是否强制重新转换(忽略缓存),true为强制重新转换,false为不强制重新转换. /// public bool noCache { get; set; } /// /// 针对单文档设置水印内容. /// public string? watermark { get; set; } /// /// 0否1是,默认为0。针对单文档设置是否防复制. /// public int isCopy{ get; set; } /// /// 开始位置. /// public string? pageStart { get; set; } /// /// 结束位置. /// public string? pageEnd { get; set; } /// /// 类型. /// public string? type { get; set; } /// /// 预览方式(localPreview:本地,yozoOnlinePreview:在线). /// public string? previewType { get; set; } }