getVersion(majorVersion:minorVersion:)
Returns the major and minor version numbers of a Core Graphics PDF document.
Declaration
func getVersion(majorVersion: UnsafeMutablePointer<Int32>, minorVersion: UnsafeMutablePointer<Int32>)Parameters
- majorVersion:
On return, contains the major version number of the document.
- minorVersion:
On return, contains the minor version number of the document.
Discussion
On return, the values of the majorVersion and minorVersion parameters are set to the major and minor version numbers of the document respectively.