PDFToolbar.h 849 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // PDFToolbar.h
  3. // PDFReader
  4. //
  5. // Copyright © 2014-2022 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // The PDF Reader Sample applications are licensed with a modified BSD license.
  8. // Please see License for details. This notice may not be removed from this file.
  9. //
  10. #import <UIKit/UIKit.h>
  11. typedef NS_ENUM(NSInteger, PDFToolbarSelectedIndex) {
  12. PDFToolbarNote = 0,
  13. PDFToolbarHighlight,
  14. PDFToolbarUnderline,
  15. PDFToolbarStrikeout,
  16. PDFToolbarSquiggly,
  17. PDFToolbarFreehand,
  18. PDFToolbarShape,
  19. PDFToolbarFreeText,
  20. PDFToolbarSignature,
  21. PDFToolbarStamp,
  22. PDFToolbarImage,
  23. PDFToolbarLink
  24. };
  25. @interface PDFToolbar : UIView
  26. @property (nonatomic,assign) NSInteger shapeStyle;
  27. @property (nonatomic,copy) void (^callback) (NSInteger index, BOOL isSelected, UIButton *button);
  28. - (void)reloadData;
  29. @end