Contents

PMCopyPageFormat(_:_:)

Copies the settings from one page format object into another.

Declaration

func PMCopyPageFormat(_ formatSrc: PMPageFormat, _ formatDest: PMPageFormat) -> OSStatus

Parameters

  • formatSrc:

    The page format object to duplicate.

  • formatDest:

    The page format object to receive the copied settings. On return, this object contains the same settings as the formatSrc object.

Return Value

A result code. See Result Codes.

See Also

Creating and Using Page Format Objects