简体   繁体   English

如何在C#中更改Visio形状的文本字体?

[英]How to change the font of text in a Visio shape in C#?

I am creating dynamic Visio diagrams using ASP.Net MVC. 我正在使用ASP.Net MVC创建动态Visio图。 I want to change the font of text of some Visio shapes. 我想更改某些Visio形状的文本字体。 If anyone know how to do it, please help. 如果有人知道该怎么做,请帮忙。

Found my answer :) 找到了我的答案:)

shape.get_Cells("Char.Size").Formula = "=12 pt."; shape.get_Cells(“ Char.Size”)。Formula =“ = 12 pt。”;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM