The EmfEvent Event is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Provides the listening application with EMF data for each print job page received by the Virtual Printer.Visual Basic (Declaration) | |
---|---|
Public Event EmfEvent As EventHandler(Of EmfEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Printer Dim handler As EventHandler(Of EmfEventArgs) AddHandler instance.EmfEvent, handler |
C# | |
---|---|
public event EventHandler<EmfEventArgs> EmfEvent |
C++/CLI | |
---|---|
public: event EventHandler<EmfEventArgs^>^ EmfEvent |
The event handler receives an argument of type EmfEventArgs containing data related to this event. The following EmfEventArgs properties provide information specific to this event.
Property | Description |
---|---|
PrinterName | (Read only) Gets the name of the printer that generated the event. |
Stream | (Read only) Gets the memory stream that includes information to retrieve the metafile. |
Refer to Printer.Specifications example.
The event handler receives an argument for page printed.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7