SuperMap.WinRT.Mapping.ElementsLayer.AddChild C# (CSharp) Method

AddChild() public method

${mapping_ArbitraryLayer_method_addChild_UIElement_Point2D_double_Size_D}
public AddChild ( UIElement element, Point2D location, double referenceLength, Size referenceSize ) : void
element UIElement ${mapping_ArbitraryLayer_method_addChild_UIElement_pararm_element}
location SuperMap.WinRT.Core.Point2D ${mapping_ArbitraryLayer_method_addChild_UIElement_Point2D_param_location}
referenceLength double ${mapping_ArbitraryLayer_method_addChild_UIElement_Point2D_double_param_referenceLength}
referenceSize Size ${mapping_ArbitraryLayer_method_addChild_UIElement_Point2D_double_Size_param_referenceSize}
return void
        public void AddChild(UIElement element, Point2D location, double referenceLength, Size referenceSize)
        {
            element.SetValue(ReferLengthProperty, referenceLength);
            element.SetValue(ReferSizeProperty, referenceSize);
            AddChild(element, new Rectangle2D(location, location));
        }
        /// <summary>${mapping_ArbitraryLayer_method_addChild_UIElement_Point2D_double_D}</summary>

Same methods

ElementsLayer::AddChild ( UIElement element ) : void
ElementsLayer::AddChild ( UIElement element, Point2D location ) : void
ElementsLayer::AddChild ( UIElement element, Point2D location, double referenceLength ) : void
ElementsLayer::AddChild ( UIElement element, Rectangle2D bbox ) : void