A
Alexandra
Hello,
I develop Office COM Add-in for VISIO in C# .NET. In order to get
and set custom property of the shape programmatically I use
CustomPropertyRead class from Microsoft office visio 2003 SDK (Code Librarian
Viewer).
For getting the custom property value I use function
ReadANamedCustomProperty from SDK.
Sometimes for the shapes which contain custom property with particular
name this function displays the message that property name was not found.
But when I look at custom properties I see the property with this name on
this shape.
I get the results as if the cell doesn't exist.
customPropertyShape.get_CellExists(propName
short)Microsoft.Office.Interop.Visio.VisExistsFlags.
(
and Returns 0 visExistsAnywhere)
customPropertyShape.get_CellExistsU(propName
short)Microsoft.Office.Interop.Visio.VisExistsFlags.
(
Returns 0 visExistsAnywhere)
I don't understand why it happens. Has anybody idea how to overcome
this problem?
Thank you in advance.
I develop Office COM Add-in for VISIO in C# .NET. In order to get
and set custom property of the shape programmatically I use
CustomPropertyRead class from Microsoft office visio 2003 SDK (Code Librarian
Viewer).
For getting the custom property value I use function
ReadANamedCustomProperty from SDK.
Sometimes for the shapes which contain custom property with particular
name this function displays the message that property name was not found.
But when I look at custom properties I see the property with this name on
this shape.
I get the results as if the cell doesn't exist.
customPropertyShape.get_CellExists(propName
short)Microsoft.Office.Interop.Visio.VisExistsFlags.
(
and Returns 0 visExistsAnywhere)
customPropertyShape.get_CellExistsU(propName
short)Microsoft.Office.Interop.Visio.VisExistsFlags.
(
Returns 0 visExistsAnywhere)
I don't understand why it happens. Has anybody idea how to overcome
this problem?
Thank you in advance.