UIKit · IOS API REFERENCE
UIPrintPaper
class · iOS 4.2+ · SDK 27.1
class UIPrintPaper
Members (5)
static · iOS 4.2+bestPaper
TypeScriptstatic bestPaper(contentSize: { width: number; height: number }, paperList: Array<UIPrintPaper>): UIPrintPaper
Swift declarationclass func bestPaper(forPageSize contentSize: CGSize, withPapersFrom paperList: [UIPrintPaper]) -> UIPrintPaper
initinit
TypeScriptstatic init(): UIPrintPaper
Swift declarationinit()
methodprintRect
TypeScriptprintRect(): { x: number; y: number; width: number; height: number }
Swift declarationfunc printRect() -> CGRect
get · iOS 4.2+paperSize
TypeScriptget paperSize(): { width: number; height: number }
Swift declarationvar paperSize: CGSize { get }
get · iOS 4.2+printableRect
TypeScriptget printableRect(): { x: number; y: number; width: number; height: number }
Swift declarationvar printableRect: CGRect { get }
Skipped declarations
No declarations were skipped in this snapshot.
All UIKit types →