We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Color.Equals throws InvalidCastException

Aspose.Color.Equals casts the object to compare with directly. When not providing a Color object, the Equals method throws an InvalidCastException. Please fix :slight_smile:


Thank you for contacting support.

Would you please share a narrowed down code snippet along with all necessary resources to reproduce it so that we can investigate further to sort it out.

new Aspose.Pdf.Color().Equals(1);


We have logged an investigation ticket with ID PDFNET-45273 in our issue management system. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.