Manuals

 

SetaPDF_Stamp::setVisibility()

Description

class SetaPDF_Stamp {
boolean setVisibility ( [string $visibility='all'] ) }

Sets the visibility of a stamp for printing or viewing-purpose.

Parameters

$visibility

Follwing visibility states are available:

all

Default behaviour. The stamp appears in every state.

view

The stamp is only visible when the document is viewed interactively.

print

The stamp is only visible when the document is printed.

Return value

True if the passed parameter is an available visibility state.

False if the passed parameter is an unavailable visibility state.

Version

  • Available since Version 1.5