Example #1
0
        static void Main(string[] args)
        {
            var text = new Text();

            text.Width = 100;
            text.Copy();
            text.Duplicate();
        }
Example #2
0
        static void Main(string[] args)
        {
            var text = new Text();

            text.Copy();
            text.Duplicate();
            text.AddHyperLink("url.com");
            Console.WriteLine("Text height: {0}, width: {1}", text.Height = 10, text.Width = 3);
        }
Example #3
0
        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.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();
        }