Class

CGPSConverter

An opaque data type used to convert PostScript data to PDF data.

Declaration

class CGPSConverter

Topics

Instance Properties

var isConverting: Bool

Checks whether the converter is currently converting data.

Type Properties

class var typeID: CFTypeID

Returns the Core Foundation type identifier for PostScript converters.

Instance Methods

func abort() -> Bool

Tells a PostScript converter to abort a conversion at the next available opportunity.

func convert(CGDataProvider, consumer: CGDataConsumer, options: CFDictionary?) -> Bool

Uses a PostScript converter to convert PostScript data to PDF data.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software