Пример #1
0
        public void SetHeights(params object[] heights)
        {
            foreach (var h in heights)
            {
                var hh = h;
                if (h is PSObject psobj)
                {
                    hh = psobj.BaseObject;
                }

                _heights.Add(SmartConverter.ToDouble(hh));
            }
        }
Пример #2
0
        public void SetWidths(params object[] widths)
        {
            foreach (var w in widths)
            {
                var ww = w;
                if (w is PSObject psobj)
                {
                    ww = psobj.BaseObject;
                }

                _widths.Add(SmartConverter.ToDouble(ww));
            }
        }