static void Main(string[] args) { var text = new Text(); text.Width = 200; // Copy method is from PresentationObject class text.Copy(); }
static void Main(string[] args) { var textObject = new Text(12, "Arial"); textObject.Hyperlink("www.pornhub.com"); textObject.Copy(); Console.WriteLine(textObject.Width + " " + textObject.Height); }