PMGetScale(_:_:)
Obtains the scaling factor currently applied to the page and paper rectangles.
Declaration
func PMGetScale(_ pageFormat: PMPageFormat, _ scale: UnsafeMutablePointer<Double>) -> OSStatusParameters
- pageFormat:
The page format object whose scaling factor you want to obtain.
- scale:
A pointer to your double-precision variable. On return, the variable contains the scaling factor expressed as a percentage. For example, a value of 100.0 means 100 percent (that is, no scaling); a value of 50.0 means 50 percent scaling.
Return Value
A result code. See Result Codes.
See Also
Accessing Data in Page Format Objects
PMGetPageFormatExtendedData(_:_:_:_:)PMSetPageFormatExtendedData(_:_:_:_:)PMGetPageFormatPaper(_:_:)PMPageFormatGetPrinterID(_:_:)PMGetOrientation(_:_:)PMSetOrientation(_:_:_:)PMSetScale(_:_:)PMGetAdjustedPageRect(_:_:)PMGetAdjustedPaperRect(_:_:)PMGetUnadjustedPageRect(_:_:)PMGetUnadjustedPaperRect(_:_:)