Visio ShapeSheet Cell limitations

I

Igor [ITP]

Hi.

We have tried to write a string content into the visio shapesheet cell.
This resulted each time with an out of memory exception. The code used:

celObj.FormulaU = "\"" + strValue + "\"";

What we have observed is that this error occures with the strings
larger
than 38Mb. Same thing happens using the VB code to write to a visio
cell.
Are there any limitations on the string size regarding the visio cell?
Is there any way to write larger content to a cell?

Tnx
Igor
 
M

Mark Nelson [MS]

Visio cells support 64K of information. If you want to write more
information to the document, I suggest using SolutionXML. See the Developer
Reference for help on this property.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 
I

Igor [ITP]

Thank you for the quick answer. I think the visio cell ist not limited
to 64K when storing the information into the cell programatically. In
the past we stored pretty large contents into the cell. But on the long
terms I think we are going to split the string and store it in
compressed form. It will be nice to know if there is any limitation on
size when storing the information programatically.

cheers

igor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top