public static ObjectBoundsProxy CreateObjectBoundsProxy(this IFeaturingObjectBounds target, Proxy parent)
        {
            var proxy = parent.Provider.CreateProxy <ObjectBoundsProxy>(parent.Mode);

            proxy.Record = target;
            return(proxy);
        }
        public static void UpdateFromObjectBoundsProxy(this IFeaturingObjectBounds target, IObjectBounds value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value", "Cannot assign a NULL to object bounds.");
            }

            // Assign copy of bounds of another record
            target.ObjectBounds = (ObjectBounds)((ObjectBoundsProxy)value).Record.ObjectBounds.CopyField();
        }