Frequently Asked Question:
Change the Base URL property
I would like to know if it is possible to change the "Base URL" property of a PDF using Quick PDF?
Yes, the base URL for a PDF can be changed using the SetBaseURL function.
This function sets the Base URL for all URL links in the document. For example, if the Base URL was set to "http://www.example.com/" and a URL link destination was set to "index.html" then the link will point to "http://www.example.com/index.html".
Use the AddLinkToWeb function to add a URL link to the current page.
Sample code:
QP.SetBaseURL("http://www.example.com/");
QP.SetOrigin(1);
QP.AddLinkToWeb(50, 50, 20, 20, "index.html", 1);