Вопрос

I want to know how to select and unselect a Powerpoint shape programatically. I've tried this way to unselect a selected shape, but it doesn't work:

PowerPoint.Shape shape; .....

shape.Select(Office.MsoTriState.msoFalse);

Нет правильного решения

Другие советы

Sorry for not reading the function Select of PowerPoint.Shape. The Select function actually does one of two works:

1) The selection is added to the previous selection. 2) The default. The selection replaces any previous selection.

unselect : ActiveWindow.Selection.Unselect

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top