/// <summary>
        /// Constructor
        /// </summary>
        /// <param name="layoutMap">Layout map</param>
        public LayoutNorthArrow(LayoutMap layoutMap) : base()
        {
            ElementType   = ElementType.LayoutNorthArraw;
            ResizeAbility = ResizeAbility.ResizeAll;

            Width  = 50;
            Height = 50;

            _layoutMap      = layoutMap;
            _smoothingMode  = SmoothingMode.AntiAlias;
            _drawNeatLine   = false;
            _neatLineColor  = Color.Black;
            _neatLineSize   = 1;
            _northArrowType = NorthArrowTypes.NorthArrow1;
            _angle          = 0;
        }
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="layoutMap">Layout map</param>
        public LayoutScaleBar(LayoutMap layoutMap) : base()
        {
            ElementType   = ElementType.LayoutScaleBar;
            ResizeAbility = ResizeAbility.ResizeAll;

            Width  = 200;
            Height = 50;
            //BackColor = Color.YellowGreen;
            _layoutMap     = layoutMap;
            _smoothingMode = SmoothingMode.HighQuality;
            _scaleBarType  = ScaleBarTypes.ScaleLine1;
            _drawNeatLine  = false;
            _neatLineColor = Color.Black;
            _neatLineSize  = 1;
            _font          = new Font("Arial", 8);
            _unit          = ScaleBarUnits.Kilometers;
            _unitText      = "km";
            _numBreaks     = 4;
            _drawScaleText = false;
        }
        /// <summary>
        /// Constructor
        /// </summary>
        public LayoutGraphic(Graphic aGraphic, MapLayout aMapLayout, LayoutMap aLayoutMap)
            : base()
        {
            ElementType   = ElementType.LayoutGraphic;
            ResizeAbility = ResizeAbility.ResizeAll;

            _mapLayout = aMapLayout;
            _IsPaint   = true;
            Graphic    = aGraphic;
            if (_graphic.Legend != null)
            {
                if (_graphic.Legend.GetType() == typeof(LabelBreak))
                {
                    ((LabelBreak)_graphic.Legend).SizeChanged += new EventHandler(this.LabelSizeChange);
                }
            }
            //UpdateControlSize();

            _layoutMap = aLayoutMap;
            _layoutMap.MapViewUpdated += new EventHandler(LayoutMap_MapViewUpdated);
        }