PDFEditParam.cs 778 B

12345678910111213141516171819202122232425262728
  1. using ComPDFKit.Import;
  2. using ComPDFKit.PDFPage;
  3. namespace ComPDFKit.Tool
  4. {
  5. public class PDFEditParam
  6. {
  7. public int PageIndex { get; set; }
  8. public int EditIndex { get; set; }
  9. public CPDFEditType EditType { get; set; }
  10. public byte Transparency { get; set; }
  11. public CRect ClientRect { get; set; }
  12. public virtual bool CopyTo(PDFEditParam transfer)
  13. {
  14. if (transfer == null)
  15. {
  16. return false;
  17. }
  18. transfer.PageIndex = PageIndex;
  19. transfer.EditIndex = EditIndex;
  20. transfer.EditType = EditType;
  21. transfer.Transparency = Transparency;
  22. transfer.ClientRect = ClientRect;
  23. return true;
  24. }
  25. }
  26. }