QuestPDF / QuestPDF-Documentation

MIT License
22 stars 18 forks source link

Hyperlink api-reference code sample not correct #39

Open haraman21 opened 5 months ago

haraman21 commented 5 months ago

Hi

Code sample in https://www.questpdf.com/api-reference/hyperlink.html seems to be referring old code .Hyperlink(string), while code in https://www.questpdf.com/api-reference/text.html#hyperlink is working fine Hyperlink(string, string).

MarcinZiabek commented 4 months ago

Hi 😄

This overload of a hyperlink (https://www.questpdf.com/api-reference/hyperlink.html) can be used to create a link from any content, including images, text, and more complex structures like tables, etc.:

.Hyperlink("https://www.questpdf.com")
.Image("questpdf-logo.png");