Contents

SKDocumentCopyURL(_:)

Builds a Cfurl object from a document URL object (of type Skdocument).

Declaration

func SKDocumentCopyURL(_ inDocument: SKDocument!) -> Unmanaged<CFURL>!

Parameters

  • inDocument:

    The document URL object that you want a Cfurl object for.

Return Value

A CFURL object representing a document location, or NULL on failure.

Discussion

You can use this function to create a CFURL object to represent a document’s location. Do this to gain access to the Core Foundation functionality provided by CFURL. This functionality includes accessing parts of the URL string, getting properties of the URL, and converting the URL to other representations.

See Also

Working with Documents and Terms