public void Resize(int width, int height, IMainHistoryCommands history) { history.AddAndExecuteCommand(new ResizeImageCommand(this, width, height)); }
public void SetText(string text, IMainHistoryCommands history) { history.AddAndExecuteCommand(new ReplaceTextCommand(_stringRepresentation, text)); }