CPDFTextWidgetAnnotation.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // CPDFTextWidgetAnnotation.h
  3. // ComPDFKit
  4. //
  5. // Copyright © 2014-2022 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
  8. // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
  9. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
  10. // This notice may not be removed from this file.
  11. //
  12. #import <ComPDFKit/CPDFWidgetAnnotation.h>
  13. /**
  14. * A CPDFTextWidgetAnnotation object allows you to manage the appearance and content of text fields.
  15. *
  16. * @discussion CPDFTextWidgetAnnotation inherits general annotation behavior from the CPDFWidgetAnnotation class.
  17. */
  18. @interface CPDFTextWidgetAnnotation : CPDFWidgetAnnotation
  19. /**
  20. * String value associated with text field.
  21. */
  22. @property (nonatomic,retain) NSString *stringValue;
  23. /**
  24. * Alignment of text. Supported: NSLeftTextAlignment, NSRightTextAlignment and NSCenterTextAlignment.
  25. */
  26. @property (nonatomic,assign) NSTextAlignment alignment;
  27. /**
  28. * Configuring multiline PDF text fields.
  29. */
  30. @property (nonatomic,assign) BOOL isMultiline;
  31. @property (nonatomic,assign) BOOL isDate;
  32. @end