Home > PHP > Function > FDF > fdf_set_ap()

fdf_set_ap()

fdf_set_ap - Set the appearance of a field

Syntax

bool fdf_set_ap (resource $fdf_document, string $field_name, int $face, string $filename, int $page_number)

Arguments

  • fdf_document - The FDF document handle, returned by fdf_create(), fdf_open() or fdf_open_string().
  • field_name
  • face - The possible values FDFNormalAP, FDFRolloverAP and FDFDownAP.
  • filename
  • page_number

Description

Sets the appearance of a field (i.e. the value of the /APkey).

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.