Doc.setErrorHandler

Sets a user-defined error delegate.

If a function call fails, the error delegate is called.

class Doc
HPDF_STATUS
setErrorHandler
(
void delegate
(
HPDF_STATUS
,
HPDF_STATUS
)
_dlg
)

Parameters

_dlg void delegate
(
HPDF_STATUS
,
HPDF_STATUS
)

The delegate to invoke

See Also

this( void delegate( HPDF_STATUS error_no, HPDF_STATUS detail_no ) _dlg )

Meta