Perforce API for the .Net CLR P4.Net

P4Connection.OnPrintStream Event

Raised from P4PrintStreamEvents before a file is printed.

[Visual Basic]
Public Event OnPrintStream As OnPrintStreamEventHandler
[C#]
public event OnPrintStreamEventHandler OnPrintStream;

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

Handle this event to initialize a stream that P4API will write to.

See Also

P4Connection Class | P4API Namespace