Function

QLPreviewRequestCopyOptions

Returns the options specified for the preview request.

Declaration

CFDictionaryRef QLPreviewRequestCopyOptions(QLPreviewRequestRef preview);

Parameters

preview

A preview request object.

Return Value

A dictionary containing the properties specified for the preview request. See Preview Properties for supported options. You should explicitly release this object when it is no longer needed.

Discussion

The client sets options in the preview request to give hints to the generator. For macOS 10.5, no options are supported.

Special Considerations

Thread-safety: This function should be called in the same thread as the preview request is made in; generally, this is the same thread in which the GeneratePreviewForURL callback was invoked.

See Also

Requesting Previews

QLPreviewRequestCopyContentUTI

Returns the UTI for the preview request.

Deprecated
QLPreviewRequestCopyURL

Returns the URL of the document for which a preview is requested.

Deprecated
QLPreviewRequestCreateContext

Creates a graphics context to draw the preview in.

Deprecated
QLPreviewRequestCreatePDFContext

Creates a PDF context suitable to draw a multi-page preview.

Deprecated
QLPreviewRequestFlushContext

Flush the context and sets the preview response.

Deprecated
QLPreviewRequestGetDocumentObject

Returns the object that’s stored as part of a preview request.

Deprecated
QLPreviewRequestSetDocumentObject

Stores an object as part of a preview request.

Deprecated
QLPreviewRequestGetGeneratorBundle

Get the bundle of the generator receiving the preview request.

Deprecated
QLPreviewRequestGetTypeID

Gets the type identifier for the QLPreviewReqest opaque type.

Deprecated
QLPreviewRequestIsCancelled

Returns whether the preview request has been cancelled by the client.

Deprecated
QLPreviewRequestSetDataRepresentation

Sets the preview request to data saved within the document or to dynamically generated data.

Deprecated
QLPreviewRequestSetURLRepresentation

Sets the contents of the file at the given URL as the response to the preview request.

Deprecated