How to set a shape, font and forecolor in Visio
问题 I need to add a rectangle into my Visio file and want to set the font and text color, how can I do this? visio.Application app = new visio.Application(); visio.Document doc; doc = app.Documents.Open(processPath); visio.Page page = doc.Pages[1]; CreateVisio vis = new CreateVisio(); visio.Shape edit = page.DrawRectangle(3.2d, 6.9d, 4.9d, 7.9d); 回答1: How to Create a New VISIO Document Microsoft.Office.Interop.Visio.Application application = new Microsoft.Office.Interop.Visio.Application();