后台设置 宽度

 protected void SetPartState(string billtype)
        {
            string width = "208";
            if (billtype == "200")
            {
                patuUser.PartType = 1;
            }
            if (billtype == "210")
            {
                patuUser.PartType = 1;
            }
            if (billtype == "220")
            {
                patuUser.PartType = 2;
                width = "115";
            }

            patuUser.Width = new Unit(width);
        }

原文地址:https://www.cnblogs.com/pchgo/p/1711678.html