Visio Shape Styles(Text, Fill and Line Style)

M

Manish

Hi,

I am using Visio 2003 and C# for my application developement.
The Text Block (in which only Text of shape appears) of Visio can
be obtained by using below given three lines:


vsoShape1.TextStyle = "Basic"
vsoShape1.LineStyle = "Text Only"
vsoShape1.FillStyle = "Text Only" in VBA.


But can someone tell me how can we obtain the same by using C#.
Means what are the corresponding values for "Basic" and "Text Only" in
C#.


Thanks in Advance,
Manish
[email protected]
 
J

JuneTheSecond

Name of style might be independent from programing languages.
A style is member of styles that is property of document,
and style has name property
You could also see the styles in drawing explorer,
where you could open the shapesheet of style
 
Top