/// <summary>
        /// Sets the background image bitmap.
        /// </summary>
        /// <param name="bitmap">The bitmap.</param>
        /// <param name="mode">The fill mode <see cref="FillBitmapMode"/>.</param>
        /// <param name="Name">The name of the Fill Bitmap.</param>
        /// <returns><c>true</c> if the background image could been set, otherwise <c>false</c></returns>
        virtual internal bool SetBackgroundBitmap(XBitmap bitmap, tud.mci.tangram.util.BitmapMode mode, String Name = "")
        {
            try
            {
                int count = this.ChildCount;
                if (count > 0) // group object
                {
                    var children = GetChilderen();
                    for (int i = 0; i < children.Count; i++)
                    {
                        OoShapeObserver child = children.ElementAt(i);

                        if (child != null)
                        {
                            child.SetBackgroundBitmap(bitmap, mode, Name);
                        }
                    }
                }

                if (bitmap != null)
                {
                    SetProperty("FillBitmap", bitmap);
                    FillBitmapMode = mode;
                    setStringProperty("FillBitmapName", Name);
                }
                return(true);
            }
            catch (System.Exception ex)
            {
                Logger.Instance.Log(LogPriority.DEBUG, this, "[ERROR] Can't set background image: " + ex);
            }
            return(false);
        }
        /// <summary>
        /// Sets the background image bitmap.
        /// </summary>
        /// <param name="imagePath">The local path to the bitmap.</param>
        /// <param name="mode">The fill mode <see cref="FillBitmapMode"/>.</param>
        /// <param name="Name">The name of the Fill Bitmap.</param>
        /// <returns>
        ///     <c>true</c> if the background image could been set, otherwise <c>false</c>
        /// </returns>
        virtual public bool SetBackgroundBitmap(String imagePath, tud.mci.tangram.util.BitmapMode mode, String Name = "")
        {
            XBitmap bitmap = null;

            bitmap = OoUtils.GetGraphicFromUrl(imagePath) as XBitmap;
            return(SetBackgroundBitmap(bitmap, mode, Name));
        }