The thread 0x30e70 has exited with code 259 (0x103)

I am getting this error “The thread 0x30e70 has exited with code 259 (0x103)” when calling the pdf2Print.Pages(pg).ColorType. What causes this?

Select Case pdf2Print.Pages(pg).ColorType
Case Aspose.Pdf.ColorType.BlackAndWhite, Aspose.Pdf.ColorType.Grayscale, Aspose.Pdf.ColorType.Undefined
printBWPgCount += 1
Case Else
printColorPgCount += 1
End Select

@salemantulsa

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input PDF.
  • Your working environment e.g. operating system, .NET version etc.
  • Please create a sample application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.