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

Free Support Forum - aspose.com

How change color of integral sign or something like it?

Hi, Can I change color of integral sign (OfficeMath object)? If I can, how can I do it?

Hi there,

Thanks for your inquiry. Could you please attach your input and expected output Word documents here for our reference? We will then provide you more information on this along with code.

I change some style by using aspose, but i cant change color of black components in result

Hi there,

Thanks for sharing the detail. Please use following code example to achieve your requirements. Hope this helps you.

Document doc = new Document(MyDir + "in.docx");

OfficeMath officemath = (OfficeMath)doc.GetChild(NodeType.OfficeMath, 0, true);

foreach (Run run in doc.GetChildNodes(NodeType.Run, true))

{

run.Font.Color = Color.Blue;

}

doc.Save(MyDir + "Out.docx");