public void SetParagraphText(string text) { _executor.AddAndExecuteCommand(new ReplaceTextCommand(this, text)); }
public void Resize(int width, int height) { CheckImageSize(width, height); _executor.AddAndExecuteCommand(new ResizeImageCommand(this, width, height)); }