array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.fdf-get-ap.php', 1 => 'fdf_get_ap', 2 => 'Get the appearance of a field', ), 'up' => array ( 0 => 'ref.fdf.php', 1 => 'FDF 函数', ), 'prev' => array ( 0 => 'function.fdf-error.php', 1 => 'fdf_error', ), 'next' => array ( 0 => 'function.fdf-get-attachment.php', 1 => 'fdf_get_attachment', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fdf/functions/fdf-get-ap.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

fdf_get_ap

(PHP 4 >= 4.3.0, PHP 5 < 5.3.0, PECL fdf SVN)

fdf_get_apGet the appearance of a field

说明

fdf_get_ap(
    resource $fdf_document,
    string $field,
    int $face,
    string $filename
): bool

Gets the appearance of a field (i.e. the value of the /AP key) and stores it in a file.

参数

fdf_document

The FDF document handle, returned by fdf_create(), fdf_open() or fdf_open_string().

field

face

The possible values are FDFNormalAP, FDFRolloverAP and FDFDownAP.

filename

The appearance will be stored in this parameter.

返回值

成功时返回 true, 或者在失败时返回 false