AddLinkToWeb
Anotasi dan tautan area interaktif
Deskripsi
Menambahkan rectangle hotspot yang bisa diklik ke halaman terpilih, yang menuju URL di internet. Juga bisa dipakai untuk menuju alamat e-mail
Gunakan fungsi SetAnnotBorderColor untuk mengubah warna border hotspot
Sintaks
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);
Parameter
| Left | Tepi kiri rectangle hotspot Tepi atas rectangle hotspot |
|---|---|
| Top | |
| Width | Lebar dari persegi panjang hotspot |
| Height | Tinggi dari persegi panjang hotspot |
| Link | URL yang menjadi target link. Beberapa contoh: "http://www.example.com/" "mailto:info@example.com" |
| Options | Menentukan tampilan link: 0 = Tanpa border 1 = Gambar border |