S
Sergey Zamansky
Hi,
I use Visio ActiveX control in C++ application. In order to select all
shapes in a layer I call method as follows:
Visio::IVSelectionPtr pvsoSel =
pvsoPage->CreateSelection(Visio::visSelTypeByLayer,
Visio::visSelModeSkipSuper, "MyLayerName");
This call returns selection properly.
In order to select all shapes created from the same master I call the method
in the same manner:
Visio::IVSelectionPtr pvsoSel =
pvsoPage->CreateSelection(Visio::visSelTypeByMaster,
Visio::visSelModeSkipSuper, "MyMasterName");
However this call throws exception. What is wrong? What is the correct way
to select shapes of the same master in C++?
Thank you in advance,
Sergey.
I use Visio ActiveX control in C++ application. In order to select all
shapes in a layer I call method as follows:
Visio::IVSelectionPtr pvsoSel =
pvsoPage->CreateSelection(Visio::visSelTypeByLayer,
Visio::visSelModeSkipSuper, "MyLayerName");
This call returns selection properly.
In order to select all shapes created from the same master I call the method
in the same manner:
Visio::IVSelectionPtr pvsoSel =
pvsoPage->CreateSelection(Visio::visSelTypeByMaster,
Visio::visSelModeSkipSuper, "MyMasterName");
However this call throws exception. What is wrong? What is the correct way
to select shapes of the same master in C++?
Thank you in advance,
Sergey.