Visio shape has no visible property, so it is complicated to hide shapes.
But you can do it by setting valus of some of the noshow or transparent cells.
For a simple rectangle with text, you have to set the NoShow cell in the
Geometry section, and to set the transparent cell.