PDFEditParam.cs 750 B

1234567891011121314151617181920212223242526
  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. return false;
  16. transfer.PageIndex = PageIndex;
  17. transfer.EditIndex = EditIndex;
  18. transfer.EditType = EditType;
  19. transfer.Transparency = Transparency;
  20. transfer.ClientRect = ClientRect;
  21. return true;
  22. }
  23. }
  24. }