A
Aaron Stibich
Another nube question here. I am trying to programmatically read the custom
properties of a shape. I found some examples, seemed simple enough, but I'm
not getting anything back, even on shapes that I know have custom properties
defined.
I am starting with a pointer to a window, that I get from the
'SelectionChanged' application event. I get the shape pointer out of the
window, then read the number of custom properties
lRows = spShape->GetRowCount( Visio::visSectionProp );
This always returns zero, and I know there are properties there (by looking
at the 'Custom Properties...' dialog in Visio). What am I missing here?
Thanks,
Aaron
properties of a shape. I found some examples, seemed simple enough, but I'm
not getting anything back, even on shapes that I know have custom properties
defined.
I am starting with a pointer to a window, that I get from the
'SelectionChanged' application event. I get the shape pointer out of the
window, then read the number of custom properties
lRows = spShape->GetRowCount( Visio::visSectionProp );
This always returns zero, and I know there are properties there (by looking
at the 'Custom Properties...' dialog in Visio). What am I missing here?
Thanks,
Aaron