Class CGPDFDocument

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CGPDFDocument
    extends CFType
    • Constructor Detail

      • CGPDFDocument

        protected CGPDFDocument()
    • Method Detail

      • getMajorVersion

        public int getMajorVersion()
      • getMinorVersion

        public int getMinorVersion()
      • create

        public static CGPDFDocument create​(NSURL url)
        Since:
        Available in iOS 2.0 and later.
      • isEncrypted

        public boolean isEncrypted()
        Since:
        Available in iOS 2.0 and later.
      • unlock

        public boolean unlock​(java.lang.String password)
        Since:
        Available in iOS 2.0 and later.
      • isUnlocked

        public boolean isUnlocked()
        Since:
        Available in iOS 2.0 and later.
      • allowsPrinting

        public boolean allowsPrinting()
        Since:
        Available in iOS 2.0 and later.
      • allowsCopying

        public boolean allowsCopying()
        Since:
        Available in iOS 2.0 and later.
      • getNumberOfPages

        public long getNumberOfPages()
        Since:
        Available in iOS 2.0 and later.
      • getPage

        public CGPDFPage getPage​(long pageNumber)
        Since:
        Available in iOS 2.0 and later.
      • getClassTypeID

        public static long getClassTypeID()
        Since:
        Available in iOS 2.0 and later.
      • getAccessPermissions

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