A
ahmadka
Hi guys. I am really sorry for creating a new thread regarding this topic,
but I was not getting any recent response on older ones..
OK, I managed to get the screentip working, I used the following code:
tempShape.get_CellsSRC((short)Microsoft.Office.Interop.Visio.VisSectionIndices.visSectionObject,
(short)Microsoft.Office.Interop.Visio.VisRowIndices.visRowMisc,
(short)Microsoft.Office.Interop.Visio.VisCellIndices.visComment).FormulaU =
"\"" + "Connecting Routers " + edges[temp].from +" and " + edges[temp].to +
"! Link Utilization: " +edges[temp].utilizationPercentage +"%! Available
Bandwidth: " +
(((int)((((100-edges[temp].utilizationPercentage)/100)*edges[temp].bandwidth)*100))/100) + "kbps" + "\"";
The only problem is, all the text I specify to be shown in the SceenTip is
begin shown is just one line. How can I make the screentip move to the next
line ? I tried the "\n" string but that didnt do the trick.....
but I was not getting any recent response on older ones..
OK, I managed to get the screentip working, I used the following code:
tempShape.get_CellsSRC((short)Microsoft.Office.Interop.Visio.VisSectionIndices.visSectionObject,
(short)Microsoft.Office.Interop.Visio.VisRowIndices.visRowMisc,
(short)Microsoft.Office.Interop.Visio.VisCellIndices.visComment).FormulaU =
"\"" + "Connecting Routers " + edges[temp].from +" and " + edges[temp].to +
"! Link Utilization: " +edges[temp].utilizationPercentage +"%! Available
Bandwidth: " +
(((int)((((100-edges[temp].utilizationPercentage)/100)*edges[temp].bandwidth)*100))/100) + "kbps" + "\"";
The only problem is, all the text I specify to be shown in the SceenTip is
begin shown is just one line. How can I make the screentip move to the next
line ? I tried the "\n" string but that didnt do the trick.....