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
setWidth Method 

Sets the pixel width of the control.

Syntax
JavaScript
 Control.setWidth(width)

Parameters

width
The new width in pixel.
Remarks

In standards-compliant mode, this method sets the control's root element's content box width, which is the distance between the left and right edge of the inner box. On the other hand, getOffsetWidth returns the width of the outter box, which can be a greater value.

See Also