Replies: 1   Views: 587
How i can create a button (hyperlink control element) - click and go
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by Exorion  · 23-01-2021 - 12:21

Hi guys!

Can someone help me - i want to make something like button there i can jump to a web page, anybody have experience with styling a buttons (with gradient or not)?


Posted by admin  · 23-01-2021 - 14:21


The easiest solution is adding an image (with a button or any other appearance) and add a link to the image. addImage and embedHTML (an also template methods) allow adding hyperlink to images. Or you can generate the buttons with MS Word in a DOCX, and import them using importContents.