CPDFGlobalConfig constructor

const CPDFGlobalConfig({
  1. CPDFThemeMode themeMode = CPDFThemeMode.system,
  2. bool fileSaveExtraFontSubset = true,
  3. CPDFWatermarkConfig watermark = const CPDFWatermarkConfig(),
  4. bool enableExitSaveTips = true,
  5. CPDFFillSignatureType signatureType = CPDFFillSignatureType.manual,
  6. CPDFThumbnailConfig thumbnail = const CPDFThumbnailConfig(),
  7. bool enableErrorTips = true,
  8. CPDFBotaConfig bota = const CPDFBotaConfig(),
  9. CPDFSearchConfig search = const CPDFSearchConfig(),
  10. CPDFPageEditorConfig pageEditor = const CPDFPageEditorConfig(),
  11. List<CPDFPencilMenus> pencilMenus = CPDFPencilMenus.values,
})

Implementation

const CPDFGlobalConfig(
    {this.themeMode = CPDFThemeMode.system,
    this.fileSaveExtraFontSubset = true,
    this.watermark = const CPDFWatermarkConfig(),
    this.enableExitSaveTips = true,
    this.signatureType = CPDFFillSignatureType.manual,
    this.thumbnail = const CPDFThumbnailConfig(),
    this.enableErrorTips = true,
    this.bota = const CPDFBotaConfig(),
    this.search = const CPDFSearchConfig(),
      this.pageEditor = const CPDFPageEditorConfig(),
      this.pencilMenus = CPDFPencilMenus.values
    });