Contents

PMPaperGetWidth(_:_:)

Obtains the width of the sheet of paper represented by a paper object.

Declaration

func PMPaperGetWidth(_ paper: PMPaper, _ paperWidth: UnsafeMutablePointer<Double>) -> OSStatus

Parameters

  • paper:

    The paper whose width you want to obtain.

  • paperWidth:

    A pointer to your double-precision variable. On return, the variable contains the width of the specified paper, in points.

Return Value

A result code. See Result Codes.

See Also

Accessing Data in Paper Objects