Package org.robovm.apple.coregraphics
Class CGPDFDocument
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coregraphics.CGPDFDocument
- All Implemented Interfaces:
AutoCloseable
public class CGPDFDocument extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCGPDFDocument.CGPDFDocumentPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCGPDFDocument() -
Method Summary
Modifier and Type Method Description booleanallowsCopying()booleanallowsPrinting()static CGPDFDocumentcreate(CGDataProvider provider)static CGPDFDocumentcreate(NSURL url)CGPDFAccessPermissionsgetAccessPermissions()static longgetClassTypeID()intgetMajorVersion()intgetMinorVersion()longgetNumberOfPages()CGPDFOutlineOptionsgetOutline()CGPDFPagegetPage(long pageNumber)booleanisEncrypted()booleanisUnlocked()booleanunlock(String password)Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CGPDFDocument
protected CGPDFDocument()
-
-
Method Details
-
getMajorVersion
public int getMajorVersion() -
getMinorVersion
public int getMinorVersion() -
create
-
create
-
isEncrypted
public boolean isEncrypted() -
unlock
-
isUnlocked
public boolean isUnlocked() -
allowsPrinting
public boolean allowsPrinting() -
allowsCopying
public boolean allowsCopying() -
getNumberOfPages
public long getNumberOfPages() -
getPage
-
getClassTypeID
public static long getClassTypeID() -
getOutline
- Since:
- Available in iOS 11.0 and later.
-
getAccessPermissions
- Since:
- Available in iOS 11.0 and later.
-