示例#1
0
        public double GetMaximum()
        {
            CT_Scaling ctScaling = this.GetCTScaling();

            if (ctScaling.IsSetMax())
            {
                return(ctScaling.max.val);
            }
            return(0.0);
        }
示例#2
0
        public double GetMaximum()
        {
            CT_Scaling scaling = GetCTScaling();

            if (scaling.IsSetMax())
            {
                return(scaling.max.val);
            }
            else
            {
                return(0.0);
            }
        }
示例#3
0
        public void SetMaximum(double max)
        {
            CT_Scaling scaling = GetCTScaling();

            if (scaling.IsSetMax())
            {
                scaling.max.val = max;
            }
            else
            {
                scaling.AddNewMax().val = max;
            }
        }
示例#4
0
        public void SetMaximum(double max)
        {
            CT_Scaling ctScaling = this.GetCTScaling();

            if (ctScaling.IsSetMax())
            {
                ctScaling.max.val = max;
            }
            else
            {
                ctScaling.AddNewMax().val = max;
            }
        }