Contents

setDestination(_:for:)

Sets a destination to jump to when a rectangle in the current PDF page is clicked.

Declaration

func setDestination(_ name: CFString, for rect: CGRect)

Parameters

  • name:

    A destination name.

  • rect:

    A rectangle that specifies an area of the current page of a PDF graphics context. The rectangle is specified in default user space (not device space).

See Also

Managing a PDF Graphics Context