Class CGPDFDocument

All Implemented Interfaces:
AutoCloseable

public class CGPDFDocument
extends CFType
  • Constructor Details

    • CGPDFDocument

      protected CGPDFDocument()
  • Method Details

    • getMajorVersion

      public int getMajorVersion()
    • getMinorVersion

      public int getMinorVersion()
    • create

      public static CGPDFDocument create​(CGDataProvider provider)
    • create

      public static CGPDFDocument create​(NSURL url)
    • isEncrypted

      public boolean isEncrypted()
    • unlock

      public boolean unlock​(String password)
    • isUnlocked

      public boolean isUnlocked()
    • allowsPrinting

      public boolean allowsPrinting()
    • allowsCopying

      public boolean allowsCopying()
    • getNumberOfPages

      public long getNumberOfPages()
    • getPage

      public CGPDFPage getPage​(long pageNumber)
    • getClassTypeID

      public static long getClassTypeID()
    • getOutline

      public CGPDFOutlineOptions getOutline()
      Since:
      Available in iOS 11.0 and later.
    • getAccessPermissions

      public CGPDFAccessPermissions getAccessPermissions()
      Since:
      Available in iOS 11.0 and later.