One Logo Pool Ball
UIKit · IOS API REFERENCE

UIPrintPaper

class · iOS 4.2+ · SDK 27.1

class UIPrintPaper

Members (5)

static · iOS 4.2+

bestPaper

TypeScript
static bestPaper(contentSize: { width: number; height: number }, paperList: Array<UIPrintPaper>): UIPrintPaper
Swift declaration
class func bestPaper(forPageSize contentSize: CGSize, withPapersFrom paperList: [UIPrintPaper]) -> UIPrintPaper
init

init

TypeScript
static init(): UIPrintPaper
Swift declaration
init()
method

printRect

TypeScript
printRect(): { x: number; y: number; width: number; height: number }
Swift declaration
func printRect() -> CGRect
get · iOS 4.2+

paperSize

TypeScript
get paperSize(): { width: number; height: number }
Swift declaration
var paperSize: CGSize { get }
get · iOS 4.2+

printableRect

TypeScript
get printableRect(): { x: number; y: number; width: number; height: number }
Swift declaration
var printableRect: CGRect { get }

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →