Leadtools.Printer Namespace > Printer Class : EmfEvent Event |
public event EventHandler<EmfEventArgs> EmfEvent
'Declaration Public Event EmfEvent As EventHandler(Of EmfEventArgs)
'Usage Dim instance As Printer Dim handler As EventHandler(Of EmfEventArgs) AddHandler instance.EmfEvent, handler
public event EventHandler<EmfEventArgs> EmfEvent
add_EmfEvent(function(sender, e)) remove_EmfEvent(function(sender, e))
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 | Gets the name of the printer that generated the event. |
Stream | Gets the memory stream that includes information to retrieve the metafile. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2