AddLinkToWeb
Annotazioni, collegamenti hotspot
Descrizione
Aggiunge alla pagina selezionata un rettangolo hotspot selezionabile che rimanda a un URL Internet. Può anche collegare un indirizzo e-mail.
Usare la funzione SetAnnotBorderColor per cambiare il colore del bordo dell'area sensibile
Sintassi
Delphi
Function TPDFlib.AddLinkToWeb(Left, Top, Width, Height: Double; Const Link: WideString; Options: Integer): Integer;
ActiveX
Function PDFlib::AddLinkToWeb(Left As Double, Top As Double, Width As Double, Height As Double, Link As String, Options As Long) As Long
DLL
int DLAddLinkToWeb(int InstanceID, double Left, double Top, double Width, double Height, const wchar_t * Link, int Options);
Parametri
| Left | Bordo sinistro del rettangolo dell'area sensibile Bordo superiore del rettangolo dell'area sensibile |
|---|---|
| Top | |
| Width | La larghezza del rettangolo hotspot |
| Height | L'altezza del rettangolo hotspot |
| Link | URL da collegare, ad esempio "http://www.example.com/" o "mailto:[email protected]" |
| Options | Specifica l'aspetto del collegamento: 0 = Nessun bordo 1 = Disegna un bordo |