LEADTOOLS Virtual Printer (Leadtools.Printer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
EmfEvent Event
See Also 
Leadtools.Printer Namespace > Printer Class : EmfEvent Event



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.

Syntax

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

Event Data

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.

PropertyDescription
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.

Example

Refer to Printer.Specifications example.

Remarks

The event handler receives an argument for page printed.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Printer requires a Printer module license and unlock key. It is included as part of LEADTOOLS Document Imaging Enterprise. For more information, refer to: Imaging Pro/Document/Medical Features