03-23-2008, 3:49
|
Maen Hasan

Joined on 08-05-2004
Posts 1,799
|
Re: help with rasterevent
|
 
 
|
|
|
Hello,
To enable firing the RasterEvent event, you must set the value of the EnableRasterEvent property to TRUE before start prining the print job. Please check the following code: +-------+ Dim WithEvents ePrintEvents As ePrint
Private Sub ePrintEvents_RasterEvent(ByVal PrinterName As String, ByVal PrnImage As stdole.IPictureDisp) Picture1.Picture = PrnImage End Sub
Private Sub menu_EnableRasterEvent_Click() Set ePrintEvents = New ePrint ePrintEvents.UnlockSupport SUPPORT_OEM, OEM_KEY
ePrintEvents.EnableRasterEvent ("LEADTOOLS ePrint 5") = True End Sub +-------+
Thanks, Maen Badwan LEADTOOLS Technical Support
|
|
|
|
|
Report
|
|
|
|