Esempio n. 1
0
        internal void SetXOffset(Report rpt, float f)
        {
            OFloat of = rpt.Cache.Get(this, "xoffset") as OFloat;

            if (of == null)
            {
                rpt.Cache.Add(this, "xoffset", new OFloat(f));
            }
            else
            {
                of.f = f;
            }
        }
Esempio n. 2
0
        internal float GetXOffset(Report rpt)
        {
            OFloat of = rpt.Cache.Get(this, "xoffset") as OFloat;

            return(of == null? 0: of.f);
        }