ConverterImgDialogModel.cs 843 B

12345678910111213141516171819202122232425262728
  1. using ComPDFKit_Conversion.Converter;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using ComPDFKit_Conversion.Options;
  8. namespace PDF_Office.Model.Dialog.ConverterDialogs
  9. {
  10. public class ConverterImgDialogModel : ConverterDialogsModel
  11. {
  12. public CPDFConvertImgOptions imgOptions = new CPDFConvertImgOptions();
  13. public CPDFConvertImgOptions ImgOptions()
  14. {
  15. imgOptions.IsContainAnnotations = Options.IsContainAnnotations;
  16. imgOptions.ImageType = Options.ImageType;
  17. imgOptions.ImageDpi = Options.ImageDpi;
  18. return imgOptions;
  19. }
  20. //public ImgType Type = ImgType.PNG;
  21. //public string DPI = "50";
  22. public string imageType = ".jpeg";
  23. }
  24. }