---
title: "drawTool.width Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_drawTool_width.htm
product: "Upload Suite 8"
---

# drawTool.width Property HTML5/Flash Uploader JavaScript

Supported technologies:
 
Gets or sets a draw tool width.

## Syntax
 
```
$au.imageUploaderFlash({
    imageEditor : {
        drawTool: {
            //...other params...
            width: 20,
            //...other params...
        }
    }
})
```

```
$au.imageUploaderFlash('uploaderID').imageEditor().drawTool().width(value);
value = $au.imageUploaderFlash('uploaderID').imageEditor().drawTool().width();
```
 
### Property Value
 
Type: **Number**
 
The number specifying the pen width.
 
Default value is **20**.

## Remarks
 
The user may change width using a width slider on the toolbar. If you don't want the user to change it, you can hide the slider using the [enableWidthSlider](https://www.aurigma.com/docs/us8/FH_P_J_$au_drawTool_enableWidthSlider.htm.md) property.

## See Also
 
### Reference
 
- [enableWidthSlider Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_drawTool_enableWidthSlider.htm.md)
- [minWidth Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_drawTool_minWidth.htm.md)
- [maxWidth Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_drawTool_maxWidth.htm.md)
- [Aurigma.ImageUploaderFlash.DrawTool.Width ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_DrawTool_Width.htm.md)
- [DrawTool.Width PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_DrawTool_Width.htm.md)
