CPDFInfoControl.xaml.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using ComPDFKit.PDFDocument;
  2. using compdfkit_tools;
  3. using ComPDFKitViewer.PdfViewer;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows;
  10. using System.Windows.Controls;
  11. using System.Windows.Data;
  12. using System.Windows.Documents;
  13. using System.Windows.Input;
  14. using System.Windows.Media;
  15. using System.Windows.Media.Imaging;
  16. using System.Windows.Navigation;
  17. using System.Windows.Shapes;
  18. namespace compdfkit_tools.PDFControl
  19. {
  20. /// <summary>
  21. /// PDFDocumentInfoControl.xaml 的交互逻辑
  22. /// </summary>xc
  23. public partial class CPDFInfoControl : UserControl
  24. {
  25. public CPDFViewer pdfViewer;
  26. public CPDFInfoControl()
  27. {
  28. InitializeComponent();
  29. }
  30. public void InitWithPDFViewer(CPDFViewer pdfViewer)
  31. {
  32. this.pdfViewer = pdfViewer;
  33. CPDFAbstractInfoControl.InitWithPDFViewer(pdfViewer);
  34. CPDFCreateInfoControl.InitWithPDFViewer(pdfViewer);
  35. CPDFSecurityInfoControl.InitWithPDFViewer(pdfViewer);
  36. }
  37. }
  38. }