Navigation : 
        
          
    
   Getting started  
    
  - 
   Client-side  
      -- Methods 
      -- Supported browsers 
      -- Examples 
  
    
  - 
   Server-side  
      -- Supported Node.js versions 
      -- Examples 
  
    
  - 
   Examples from the community 
  
    
   Fonts  
    
  - 
   Custom fonts (client-side)  
    
  -- 
   via Virtual file system (VFS)  
  
    
  -- 
   via URL protocol  
  
  
      - Icons 
      - Standard 14 fonts 
  
    
   Document-definition-object  
      - Styling 
      - Columns 
      - Tables 
      - Lists 
      - Headers and footers 
      - Background-layer 
      - Margins 
      - Stack of paragraphs 
      - Images 
      - SVGs 
      - Links 
      - QR code 
      - Table of contents 
      - Watermark 
      - Page dimensions, orientation and margins 
      - Document Metadata 
      - Patterns 
      - Compression 
      - Encryption and access privileges 
      - PDF/A 
  
    
   Options  
  
         
       
    
    
    Links 
    
    
    
    To add external or internal links, use the following syntax:
{  text :  'google' ,  link :  'http://google.com'  } 
{  text :  'Go to page 2' ,  linkToPage :  2  } 
{  text :  'Go to Header' ,  linkToDestination :  'header'  }, 
{  text :  'Header content' ,  id :  'header'  }, 
Or link to local computer file:
var  dd  =  { 
	content :  [ 
		{ 
		    text :  'link' , 
		    link :  'file:///c:/testFile.txt' 
		} 
	] 
}; 
Properties 
link (string) - URL to external sitelinkToPage (number) - link to page numberlinkToDestination (string) - link to document destination