Register Lost your password?
Full api documentation: full api documentation FREE version full api documentation PRO version

public function addLink(string text, string url)

Parameters

  • Text for the link
  • URL
  • ‘font’ (A specific size and style of font type within a type family. Example ‘Times New Roman’, ‘Arial’,…)

Examples

Example 1


require_once '../../classes/CreateDocx.inc';

$docx = new CreateDocx();

$docx->addLink('Link to Google', 'http://www.google.es', 'Arial');

$docx->createDocx('example_link');

Your comments