drawTool.enableWidthSlider Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a value specifying whether to display the pen width slider.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    imageEditor : {
        drawTool: {
            //...other params...
            enableWidthSlider: true,
            //...other params...
        }
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').imageEditor().drawTool().enableWidthSlider(value);
value = $au.imageUploaderFlash('uploaderID').imageEditor().drawTool().enableWidthSlider();

Property Value

Type: Boolean

If true, the user sees a width picker on the toolbar when the draw tool is activated.

Default value is true.

Remarks

To configure the width range on the slider, use minWidth and maxWidth properties.

See Also

Reference