Breadcrumbs

SetLink

Determines to which page and which position on the target page a link refers that was previously created with AddLink().

  Func_FbMnFPDF_SetLink.bmp

C++
METHOD PUBLIC SetLink : BOOL
VAR_INPUT
    lnk : INT;
    y : REAL;
    page : INT;
END_VAR

Parameter

Description

lnk 

Identifier of a link that was previously added to the document with AddLink(). 

Position of the Y-axis on the target page to be jumped to by the link. If the value is -1, the current position of the output page is used. The default value is 0 and indicates the top of the page. 

page 

The page to be used as the target for the link. The value -1 indicates the current page. 

Return value 

Status of the call.