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();
        }
Esempio n. 2
0
        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();
        }