Forum


Replies: 3   Views: 3344
Image border color?
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 darren77  · 20-11-2012 - 17:36

How can I change the image border color?

It is black by default, is it possible to specify it somewhere?

Posted by admin  · 11-04-2013 - 12:13

Hello,

You can change it using a template setting a custom color or using HTML and border_top_color property.

Regards.

Posted by darren77  · 11-04-2013 - 12:13

I tried to insert images to a template, but that require a placeholder for each image...I tried using addImage() but it did not work. The number of images I have to insert is dynamic.

I solved it creating a new document, adding the images and then merging that document to an existing template.

It works perfectly, but how do I change the image border color?