LEADTOOLS Virtual Printer (Leadtools.Printer assembly)
LEAD Technologies, Inc

EmfEvent Event






Provides the listening application with EMF data for each print job page received by the Virtual Printer.
Syntax
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
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 Gets the name of the printer that generated the event.
Stream Gets the memory stream that includes information to retrieve the metafile.
Remarks
The event handler receives an argument for page printed.
Example
Refer to Specifications example.
Requirements

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

See Also

Reference

Printer Class
Printer Members
Convert EMF to RasterImage

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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