HomePageConverterImgModel.cs 813 B

12345678910111213141516171819202122232425
  1. using ComPDFKit_Conversion.Converter;
  2. using ComPDFKit_Conversion.Options;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace PDF_Office.Model.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageConverter
  9. {
  10. public class HomePageConverterImgModel : HomePageConverterDialogModel
  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 string imageType = ".jpeg";
  21. }
  22. }