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

CancelPrintedJob Method






Id of the print job to cancel
Cancels the print job with the specified job id.
Syntax
public void CancelPrintedJob( 
   int jobID
)
'Declaration
 
Public Sub CancelPrintedJob( _
   ByVal jobID As Integer _
) 
'Usage
 
Dim instance As Printer
Dim jobID As Integer
 
instance.CancelPrintedJob(jobID)
public void CancelPrintedJob( 
   int jobID
)
 function Leadtools.Printer.Printer.CancelPrintedJob( 
   jobID 
)
public:
void CancelPrintedJob( 
   int jobID
) 

Parameters

jobID
Id of the print job to cancel
Remarks
Calling this method will raise the Leadtools.Printer.Printer.JobEvent with a status of JobEnd.
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

 

 


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