Relative Path

<< Click to Display Table of Contents >>

Navigation:  PDF-Tools V10 User Manual > Appendix > Macros >

Relative Path


 

welcome.icon.pdftools Relative Path

 


 

The Relative Path macro inserts the relative path of files from their root folders.

 

The syntax for this macro is %[Relpath]

 

Example

 

If the %[Relpath] macro is used to specify watermark text, then the relative path of the source file is added to the document:

 

relpath.macro.example

Figure 1. Add Watermark Dialog Box, %[Relpath] Macro Example

 

The output document features its relative path as a watermark:

 

relpath.output.shot

Figure 2. %[Relpath] Macro Example Output