SignatureParam.cs 580 B

1234567891011121314151617181920212223242526272829
  1. using ComPDFKit.PDFAnnotation;
  2. using ComPDFKit.PDFAnnotation.Form;
  3. namespace ComPDFKit.Tool
  4. {
  5. public class SignatureParam:WidgetParm
  6. {
  7. public SignatureParam ()
  8. {
  9. CurrentType = C_ANNOTATION_TYPE.C_ANNOTATION_WIDGET;
  10. WidgetType = C_WIDGET_TYPE.WIDGET_SIGNATUREFIELDS;
  11. }
  12. public override bool CopyTo(AnnotParam transfer)
  13. {
  14. SignatureParam signTransfer = transfer as SignatureParam;
  15. if (signTransfer == null)
  16. {
  17. return false;
  18. }
  19. if (!base.CopyTo(signTransfer))
  20. {
  21. return false;
  22. }
  23. return true;
  24. }
  25. }
  26. }