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



jobID
Id of the print job to cancel

The CancelPrintedJob Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

jobID
Id of the print job to cancel
Cancels the print job with the specified job id.

Syntax

Visual Basic (Declaration) 
Public Sub CancelPrintedJob( _
   ByVal jobID As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As Printer
Dim jobID As Integer
 
instance.CancelPrintedJob(jobID)
C# 
public void CancelPrintedJob( 
   int jobID
)
C++/CLI 
public:
void CancelPrintedJob( 
   int jobID
) 

Parameters

jobID
Id of the print job to cancel

Example

Refer to Printer.Specifications example.

Remarks

Calling this method will raise the JobEvent with a status of JobEnd.

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