Given the attached visio file, could you supply some code on how to change the flag colors?
My current code snippet is as follows:
foreach (Aspose.Diagram.Shape shape in vdxDiagram.Pages[0].Shapes)
{
foreach (Shape shapeFlag in shape.Shapes)
{
foreach (Shape shapeFlagPiece in shapeFlag.Shapes)
{
shapeFlag.Fill.FillBkgnd.Value = “C73838”;
shapeFlag.Fill.FillForegnd.Value = “C73838”;
shapeFlagPiece.Fill.FillBkgnd.Value = “C73838”;
shapeFlagPiece.Fill.FillForegnd.Value = “C73838”;
}
}
}
This should have changed the color of everything, but it doesn’t…