PMSessionDefaultPageFormat(_:_:)
Assigns default parameter values to a page format object used in the specified printing session.
Declaration
func PMSessionDefaultPageFormat(_ printSession: PMPrintSession, _ pageFormat: PMPageFormat) -> OSStatusParameters
- printSession:
The printing session for the specified page format object.
- pageFormat:
The page format object to which you want to assign default values.
Return Value
A result code. See Result Codes.
Discussion
You must call the function PMSessionDefaultPageFormat between the creation and release of the printing session. See the function PMCreateSession(_:).