static void Main(string[] args) { var text = new Text(); text.Width = 100; text.Copy(); text.AddHyperlink("https://reddit.com"); }
static void Main(string[] args) { var text = new Text(); text.Width = 100; text.Height = 50; text.FontSize = 50; text.AddHyperlink("https://github.com/"); text.Copy(); text.Duplicate(); }
static void Main(string[] args) { var text = new Text(); text.Width = 100; text.Height = 50; text.Copy(); text.AddHyperlink("www.google.com"); Console.ReadLine(); }
static void Main(string[] args) { var text = new Text(); text.AddHyperlink("http://goole.com"); // Height and width are inheritated from the base class PresentationObject text.Height = 20; text.Width = 40; // this are properties from the text object text.FontSize = 12; text.FontName = "Arial"; text.Copy(); text.Duplicate(); Console.ReadKey(); }