How to set Font properties ?

B

Bragadiru

Hi all,

I succeded to add a circle with text to a vsd drawing, using C# 2005 and
Visio 2003 (Primary Interop Assembly version 11) :

Microsoft.Office.Interop.Visio.Document visioDocument;

....

System.Random rndm = new Random();

double dbl = rndm.NextDouble();

Visio.Shape newCircle = visioDocument.Pages[1].DrawOval(dbl, dbl + 0.2628,
dbl + 0.2628, dbl);

newCircle.Text = "99";

there is no newCircle.Cells("Char.Size") !!!???

How can I set the newCircle.Char.Size = 6pt, programatically in C# ?

Thanks for any advice
 
Top