find_dest


Description:

public Dest find_dest (string link_name)

Creates a Dest for the named destination link_name in this.

Note that named destinations are bytestrings, not string. That means that unless link_name was returned by a poppler function (e.g. is named_dest), it needs to be converted to string using named_dest_from_bytestring before being passed to this function.

The returned value must be freed with free.

Parameters:

this

A Document

link_name

a named destination

Returns:

a new Dest destination, or null if link_name is not a destination.