RasterToolbar.addseparator( [refCommand [, after]] )

Adds a separator line in this menu.

Parameters

Name Type   Description
refCommand object optional A reference to a RasterCommand object, RasterCommandItem object, or a string containing the ID of an existing command. If a command matching this argument is not found in this container, the separator is appended at the end of the container.
after boolean optional true adds the separator after the given refCommand (default); false adds this separator before the given refCommand.

Returns

Type Description
object The toolbar object. This allow for chaining multiple setter methods in one single statement.
Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López