Display Text for Url/hyperlinks

    • Offizieller Beitrag

    Hyperlinks in PDF are annotations, simple rectangles located on a page but not inside the rendered content.

    So if you need to have a special text attribute for your text you need to assign it when you print it.

    To create the active area, the hyperlink, you need to use this api - in .dotnet

    public void Hyperlink(int x, int y, int w, int h, String BookMark)

    or

    public void Hyperlink(Rectangle Rect, String BookMark)

    To create a weblink the bookmark must start with "http://"

    To create a link to a certain file it must be start with "Launch://"