public void Send(IList <IVisio.Shape> target_shapes, Selections.ShapeSendDirection dir) { this._client.Application.AssertApplicationAvailable(); this._client.Document.AssertDocumentAvailable(); int shape_count = this.GetTargetSelection(target_shapes); if (shape_count < 1) { return; } var selection = this._client.Selection.Get(); Selections.SelectionHelper.SendShapes(selection, dir); }
public void Send(TargetShapes targets, Selections.ShapeSendDirection dir) { this._client.Application.AssertApplicationAvailable(); this._client.Document.AssertDocumentAvailable(); int shape_count = targets.SetSelectionGetSelectedCount(this._client); if (shape_count < 1) { return; } var selection = this._client.Selection.Get(); Selections.SelectionHelper.SendShapes(selection, dir); }