Method: FPDF#Link

Defined in:
lib/fpdf.rb


553
554
555
556
557
# File 'lib/fpdf.rb', line 553

def Link(x, y, w, h, link)
    # Put a link on the page
    @PageLinks[@page]=Array.new unless @PageLinks.has_key?(@page)
    @PageLinks[@page].push([x*@k,@hPt-y*@k,w*@k,h*@k,link])
end