HtmlModel.cs 662 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace PDF_Office.Model.Dialog.HomePageToolsDialogs
  7. {
  8. public class HtmlModel
  9. {
  10. /// <summary>
  11. /// 文件路径
  12. /// </summary>
  13. public string FilePath { get; set; } = "";
  14. /// <summary>
  15. /// 页面尺寸
  16. /// </summary>
  17. public Microsoft.Office.Interop.Word.WdPaperSize PageSize { get; set; } = Microsoft.Office.Interop.Word.WdPaperSize.wdPaperCustom;
  18. /// <summary>
  19. /// 边距
  20. /// </summary>
  21. public double Margin { get; set; } = 0;
  22. }
  23. }