Please enable JavaScript to view this site.

TIFF Image Printer

Description

The OnCloseFile event occurs each time a file is closed. Attach a handler to this event to perform custom actions with the newly created file.

The IPNFile object passed to the event handler contains the file path. This object must be released using System.Runtime.InteropServices.Marshal.FinalReleaseComObject call at the end of the event handler before returning.

Syntax

objectName_OnCloseFile(pFile)

where the IPNSession object is declared with events.

Parameters

IPNFile pFile

An IPNFile object representing the file currently being saved.

See Also: OnEndJob OnGetNextFileName OnOpenFile OnLogMessage OnReportError OnStartJob IPNFile