CPDFBookmark.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // CPDFBookmark.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/CPDFKitPlatform.h>
  13. @class CPDFDocument;
  14. @interface CPDFBookmark : NSObject
  15. #pragma mark - Accessors
  16. /**
  17. * Returns the document with which the bookmark is associated.
  18. */
  19. @property (nonatomic,readonly) CPDFDocument *document;
  20. /**
  21. * Returns the page index that the bookmark refers to.
  22. */
  23. @property (nonatomic,readonly) NSInteger pageIndex;
  24. /**
  25. * Method to get / set the label for the bookmark.
  26. */
  27. @property (nonatomic,retain) NSString *label;
  28. /**
  29. * Method to get / set the date for the bookmark.
  30. */
  31. @property (nonatomic,retain) NSDate *date;
  32. @end