Size

public enum Size : UInt32

A predefined size for a page.

  • 8.5 x 11 inches

    Declaration

    Swift

    case letter
  • 8.5 x 14 inches

    Declaration

    Swift

    case legal
  • a3

    297 x 420 mm

    Declaration

    Swift

    case a3
  • a4

    210 x 297 mm

    Declaration

    Swift

    case a4
  • a5

    148 x 210 mm

    Declaration

    Swift

    case a5
  • b4

    250 x 353 mm

    Declaration

    Swift

    case b4
  • b5

    176 x 250 mm

    Declaration

    Swift

    case b5
  • 7.25 x 10.5 inches

    Declaration

    Swift

    case executive
  • 4 x 6 inches

    Declaration

    Swift

    case us4x6
  • 4 x 8 inches

    Declaration

    Swift

    case us4x8
  • 5 x 7 inches

    Declaration

    Swift

    case us5x7
  • 4.125 x 9.5 inches

    Declaration

    Swift

    case envelope10
  • The numeric value of the predefined size represented in pixels.

    Declaration

    Swift

    public var sizeInPixels: Size { get }
  • The numeric value of the predefined size represented in inches.

    Declaration

    Swift

    public var sizeInInches: Size { get }
  • The numeric value of the predefined size represented in millimeters.

    Declaration

    Swift

    public var sizeInMillimeters: Size { get }