Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
  • EO.WebBrowser
  • EO.Wpf
  • Common Topics
  • Reference
    • .NET API Reference
    • JavaScript API Reference
      • EO.Web
        • EO.Web
        • Objects
          • AJAXPostedFile Object
          • AJAXUploader Object
          • Calendar Object
          • Callback Object
          • ColorPicker Object
          • ComboBox Object
          • Control Object
          • Dialog Object
          • Downloader Object
          • EditableLabel Object
          • Editor Object
          • EventInfo Object
          • FileExplorer Object
          • FileExplorerHolder Object
          • Floater Object
          • Grid Object
          • GridCell Object
          • GridColumn Object
          • GridItem Object
          • ImageZoom Object
          • ListBox Object
          • ListBoxItem Object
          • MaskedEdit Object
          • MaskedEditSegment Object
          • MenuItem Object
          • MultiPage Object
          • NavigationItem Object
          • NavigationItemGroup Object
          • Navigator Object
          • NavigatorEventInfo Object
          • ProgressBar Object
          • RangeSlider Object
          • Rating Object
          • ScriptEvent Object
          • Slide Object
          • Slider Object
          • SliderBase Object
          • SpellChecker Object
          • Splitter Object
          • SplitterPane Object
          • ToolBar Object
          • ToolBarItem Object
          • ToolTip Object
          • TreeNode Object
          • TreeView Object
        • Global Functions
        • Event Handlers
      • EO.WebEngine
setSize Method 

Sets the size of the control.

Syntax
JavaScript
 Control.setSize(width, height)

Parameters

width
The new width in pixel.
height
The new height in pixel.
Remarks

In standards-compliant mode, this method sets the control's root element's content box width and height. This is different from getOffsetWidth and getOffsetHeight, which return the width and height of the outter box respectively.

See Also