PDFPageFormat
public enum PDFPageFormat
Source for page sizes: https://www.papersizes.org All sizes are calculated using 72 points/inch
-
Page formats mostly used in the USA
Declaration
Swift
case usHalfLetter, usLetter, usLegal, usJuniorLegal, usLedger
-
Declaration
Swift
case usHalfLetter, usLetter, usLegal, usJuniorLegal, usLedger
-
Declaration
Swift
case usHalfLetter, usLetter, usLegal, usJuniorLegal, usLedger
-
Declaration
Swift
case usHalfLetter, usLetter, usLegal, usJuniorLegal, usLedger
-
Declaration
Swift
case usHalfLetter, usLetter, usLegal, usJuniorLegal, usLedger
-
Shorthand method to create a default
PDFPageLayout
based on the this formatssize
.Declaration
Swift
public var layout: PDFPageLayout
-
Returns the defined US paper size if this format is a US format. If it is not a US format, it will check other constants for correct size
Declaration
Swift
var usSize: CGSize
-
Returns the defined ANSI paper size if this format is a ANSI format. If it is not a ANSI format, it will check other constants for correct size
Declaration
Swift
var ansiSize: CGSize
-
Returns the defined A-Series paper size if this format is a A-Series format. If it is not a A-Series format, it will check other constants for correct size
Declaration
Swift
var aSize: CGSize
-
Returns the defined B-Series paper size if this format is a B-Series format. If it is not a B-Series format, it will check other constants for correct size
Declaration
Swift
var bSize: CGSize
-
Returns the defined C-Series paper size if this format is a C-Series format. If it is not a C-Series format, it will check other constants for correct size
Declaration
Swift
var cSize: CGSize