AddLinkToPage

Anotasi dan tautan hotspot, properti halaman

Deskripsi

Menambahkan rectangle hotspot yang bisa diklik ke halaman terpilih, yang menuju halaman lain di dokumen yang sama

Gunakan fungsi SetAnnotBorderColor untuk mengubah warna border hotspot

Sintaks

Delphi

Function TPDFlib.AddLinkToPage(Left, Top, Width, Height: Double; Page: Integer; Position: Double; Options: Integer): Integer;

ActiveX

Function PDFlib::AddLinkToPage(Left As Double, Top As Double, Width As Double, Height As Double, Page As Long, Position As Double, Options As Long) As Long

DLL

int DLAddLinkToPage(int InstanceID, double Left, double Top, double Width, double Height, int Page, double Position, int Options);

Parameter

LeftTepi kiri rectangle hotspot Tepi atas rectangle hotspot
TopLebar dari persegi panjang hotspot
Width
HeightTinggi dari persegi panjang hotspot
PageNomor halaman tujuan yang dituju link
PositionPosisi vertikal pada halaman tujuan yang menjadi target link
OptionsMenentukan tampilan link: 0 = Tanpa border 1 = Gambar border