Perforce API for the .Net CLR P4.Net

P4Connection.OnPrintEndFile Event

Raised from P4PrintStreamEvents after a file is printed.

[Visual Basic]
Public Event OnPrintEndFile As OnPrintEndEventHandler
[C#]
public event OnPrintEndEventHandler OnPrintEndFile;

Event Data

The event handler receives an argument of type P4PrintStreamEventArgs containing data related to this event. The following P4PrintStreamEventArgs properties provide information specific to this event.

Property Description
Action Submit action for the file being printed.
Change The Perforce changelist number for the file being printed.
DepotFile The Perforce depot path to the file being printed.
FileTime The timestamp of the file being printed.
FileType The Perforce file type of the file being printed.
TextEncoding Encoding to be used for files with a Perforce type of 'text'.
UnicodeEncoding Encoding to be used for files with a Perforce type of 'unicode'.

Remarks

Use this event to close any streams that were created by the OnPrintStreamEventHandler event.

See Also

P4Connection Class | P4API Namespace