File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -128,13 +128,14 @@ You can alter the default paper by using the following function:
128128
129129### Default font
130130
131- By default, every text appears in Arial 10 point. You can alter the
131+ By default, every text appears in Arial 10 point in the color red (FF0000) . You can alter the
132132default font by using the following two functions:
133133
134134``` php
135135<?php
136136
137137$phpWord->setDefaultFontName('Times New Roman');
138+ $phpWord->setDefaultFontColor('FF0000');
138139$phpWord->setDefaultFontSize(12);
139140```
140141
@@ -381,4 +382,4 @@ To control whether or not words in all capital letters shall be hyphenated use t
381382<?php
382383
383384$phpWord->getSettings()->setDoNotHyphenateCaps(true);
384- ```
385+ ```
You can’t perform that action at this time.
0 commit comments