Soda PDF can add a link over any pre-existing document element. These links can be set up to perform several different actions. This article will cover adding a JavaScript command to your link.
The first step will be to go to the Insert module and select the Links feature:
Once the Links feature is active, you will be able to choose the target area for your link. The mouse icon will change to confirm your selection. Move the mouse icon over to where you would like to place your link. Hold down the left mouse button and drag the mouse. You will see a blue rectangle as you move the mouse, allowing you to decide how big or small the link will be. The area inside this rectangle will be your link.
When you release the mouse button, you will see the Add Action window below. Choose the JavaScript option.
A window will open prompting you to enter your JavaScript command. Once you have done so, click on OK.
You will see that a Javascript Command has been added to the link. When you click OK, your link will be configured.
To test your link, click on View in the top left corner to go into View Mode. Clicking on your link will now execute your Javascript command.
You can open the properties to customize your link. First, make sure you are in Edit Mode by clicking on Edit in the top left corner. Once you have selected your link, click on the Properties icon on the right sidebar.
Click here to learn more about link properties.
While in Edit Mode, you can also resize and move your link around your document. Hold down the left mouse button while your cursor is over one of the circles in the purple border, and then change the size.
Hold down the mouse button anywhere else on the border to move its location.
We mentioned that links in Soda PDF can perform different actions. We have articles covering everything you need to know about links. Click below to learn more about that subject.
Managing Links.
Deleting/Removing Links
Creating a link to open a document.
Creating a link to another location in your document.
Creating a link which opens a web page.
Comments
0 comments
Article is closed for comments.