protected override void ExecuteAction(string ribbonId) { this.StartNewUndoEntry(); var selection = this.GetCurrentSelection(); ConvertToPicture.Convert(selection); }
protected override void ExecuteAction(string ribbonId) { this.StartNewUndoEntry(); PowerPointPresentation pres = this.GetCurrentPresentation(); PowerPointSlide slide = this.GetCurrentSlide(); Selection selection = GetSelection(); ConvertToPicture.Convert(pres, slide, selection); }