ADD URL Hotspot to PDF
This function adds a URL Hotspot to an existing PDF. An URL can be not only http:// but also
mailto://
Sample:
dim pdf
dim CurrentPage
dim lleft
dim lTop
dim lWidth
dim lHeight
dim lLink
set pdf = createobject("AloahaPDF.Edit")
if pdf.load_pdf_to_mem(cstr("c:\1.pdf")) = true then
pdf.CurrentPage=1
lleft=0
lTop=pdf.PageHeight
lHeight=pdf.PageHeight
lWidth=pdf.pagewitdth
lLink="http://www.aloaha.com"
if pdf.add_link_area(cdbl(lleft), cdbl(lTop), cdbl(lWidth), cdbl(lHeight), cstr(lLink)) = true then
if pdf.save_pdf_to_file(cstr("c:\2.pdf")) = true then
msgbox "OK"
end if
end if
end if
set pdf = nothing
PDF SDK
PDF Signature API
Certificate Properties
Sample Code
Text Stamps
PDF Attachments
Image 2 PDF
PDF to Multipage TIFF
Append PDF
Insert Blank Page
Render Image
Stamp PDF with PDF
Draw PDF as Letterhead
Apply Letterhead
PDF Backgrounds
Add Notes
URL Hotspot
Secure PDF Viewer
PDF Optimizer
PDF Encryption API
PDF Printing API
PDF Bookmarks
PDF Barcoding
Merge PDF Documents
Sample APIs
Resize PDF
Crop PDF Page
PDF Information
PDF2TXT
Normalize Pages
Direct PDF Conversion
PDF Form Saver SDK
Smart Card API
Aloaha Web Services
Aloaha Print Monitor
Aloaha Remote Configuration
WebDAV
LDAP Client
Programming Office Macros
IIS Event Sinks
Home
|
Imprint
|
Sitemap
|
Company
PDF Software
|
Smartcard Software
|
Support
|
Shop