ConverterTextDialogModel.cs 596 B

1234567891011121314151617181920
  1. using ComPDFKit_Conversion.Options;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace PDF_Master.Model.Dialog.ConverterDialogs
  8. {
  9. public class ConverterTextDialogModel : ConverterDialogsModel
  10. {
  11. public CPDFConvertTxtOptions txtOptions = new CPDFConvertTxtOptions();
  12. public CPDFConvertTxtOptions TxtOptions() {
  13. txtOptions.OCRLanguage = Options.OCRLanguage;
  14. txtOptions.IsAllowOCR = Options.IsAllowOCR;
  15. return txtOptions;
  16. }
  17. }
  18. }