Setting System.Drawing.Color through .NET COM Interop
- by Maxim
I am trying to use Aspose.Words library through COM Interop. There is one critical problem: I cannot set color. It is supposed to work by assigning to DocumentBuilder.Font.Color, but when I try to do it I get OLE error 0x80131509. My problem is pretty much like this one: http://bit.ly/cuvWfc
update:
Code Sample:
from win32com.client import…