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
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Printer Dim jobID As Integer instance.CancelPrintedJob(jobID) |
Parameters
- jobID
- Id of the print job to cancel
Refer to Printer.Specifications example.
Calling this method will raise the JobEvent with a status of JobEnd.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7