Home > PHP > Function > FDF > fdf_get_ap()

fdf_get_ap()

fdf_get_ap - Get the appearance of a field

Syntax

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

Arguments

  • 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.

Description

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

Version

PHP 4.3.0, 5

Return value

Returns TRUE on success or FALSE on failure.