Beispiel #1
0
        protected void ProcessGetTextLeadWidth(IEnumerable <string> arguments)
        {
            try
            {
                int cch = int.Parse(arguments.First());
                arguments = arguments.Skip(1);

                string rgch = arguments.First();
                arguments = arguments.Skip(1);

                int ich = int.Parse(arguments.First());
                arguments = arguments.Skip(1);

                int stretch = int.Parse(arguments.First());
                arguments = arguments.Skip(1);

                var unused = m_vwGraphics32.GetTextLeadWidth(cch, rgch, ich, stretch);
            }
            catch (Exception e)
            {
                Console.WriteLine("Get TextLead width throw exception {0}", arguments.Aggregate((str, next) => (str + " " + next)));
            }
        }