开发者

How to change the font color and size in creating pdf file using php

I'm using this as reference: http://www.ros.co.nz/pdf/

$db_data[] = array('first' => '', 'sec开发者_如何学JAVAond' => 'hello');

I would want to make the text 'hello' color blue with font-size 12. How can I do this?


Please Read the Manual:

On page 20, following are defined:

 setColor(r,g,b,[force=0])
 setStrokeColor(r,g,b,[force=0])

And on Page 29:

 setFontFamily(family,options)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜