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

LeftTepi kiri rectangle hotspot Tepi atas rectangle hotspot
Top
WidthLebar dari persegi panjang hotspot
HeightTinggi dari persegi panjang hotspot
LinkURL yang menjadi target link. Beberapa contoh: "http://www.example.com/" "mailto:info@example.com"
OptionsMenentukan tampilan link: 0 = Tanpa border 1 = Gambar border