网站首页

>>

PHP初级教程手册


函数:PDF_set_font()



PDF_set_font

配置使用的字型及大小。

语法: boolean pdf_set_font(int pdfid, string fontname, double size, int encoding);

返回值: 布尔值

函数种类: 特殊文件格式

内容说明

本函数用来配置指定的字型及字型大小,供程序有关字符串输出使用。参数 pdfid 为 PDF 文件代码。参数 fontname 为字型名称。参数 size 为字型大小。参数 encoding 的默认值为 4,其数字如下 0 表 builtin、1 为 pdfdoc、2 为 macroman、3 表 macexpert 与 4 为 winansi。成功则返回 true 值。本函数需要 pdflib 2.0 以上方可支持。



整理: (www.phpernote.com)

[ 上一页 下一页 ]

|