Open.Core.Css.SetSize C# (CSharp) Method

SetSize() public static method

Sets the size of the element.
public static SetSize ( jQueryObject element, int width, int height ) : jQueryObject
element jQueryObject The element to effect.
width int The pixel width of the element.
height int The pixel height of the element.
return jQueryObject
        public static jQueryObject SetSize(jQueryObject element, int width, int height)
        {
            element.CSS(Width, width + Px);
            element.CSS(Height, height + Px);
            return element;
        }