| Derived from | None |
| Framework | ApplicationServices/ApplicationServices.h |
| Companion guide | |
| Declared in | CGPDFStream.h |
The CGPDFStreamRef opaque type represents a PDF stream. A PDF stream consists of a dictionary that describes a sequence of bytes. Streams typically represent objects with potentially large amounts of data, such as images and page descriptions.
Returns the data associated with a PDF stream.
CFDataRef CGPDFStreamCopyData ( CGPDFStreamRef stream, CGPDFDataFormat *format );
A PDF stream.
On return, contains a constant that specifies the format of the data returned—CGPDFDataFormatRaw, CGPDFDataFormatJPEGEncoded, or CGPDFDataFormatJPEG2000.
A CFData object that contains a copy of the stream data. You are responsible for releasing this object.
CGPDFStream.hReturns the dictionary associated with a PDF stream.
CGPDFDictionaryRef CGPDFStreamGetDictionary ( CGPDFStreamRef stream );
A PDF stream.
The PDF dictionary for the specified stream.
CGPDFStream.hAn opaque type that represents a PDF stream.
typedef struct CGPDFStream *CGPDFStreamRef;
CGPDFStream.hThe encoding format of PDF data.
enum CGPDFDataFormat { CGPDFDataFormatRaw, CGPDFDataFormatJPEGEncoded, CGPDFDataFormatJPEG2000 }; typedef enum CGPDFDataFormat CGPDFDataFormat;
CGPDFDataFormatRawThe data stream is not encoded.
Available in Mac OS X v10.3 and later.
Declared in CGPDFStream.h
CGPDFDataFormatJPEGEncodedThe data stream is encoded in JPEG format.
Available in Mac OS X v10.3 and later.
Declared in CGPDFStream.h
CGPDFDataFormatJPEG2000The data stream is encoded in JPEG-2000 format.
Available in Mac OS X v10.4 and later.
Declared in CGPDFStream.h
CGPDFStream.h
Last updated: 2006-12-22