Executing the Slider command produces a function call.
By using commands from the DocumentTools:-Layout package a nested function call can be produced which represents a worksheet.
That XML representation of a worksheet can be inserted directly.
The previous example's call to the InsertContent command inserted a component with identity "Slider0", which still exists in this worksheet. Inserting additional content whose input contains another component with that same identity "Slider0" incurs a substitution of the input identity in order to avoid a conflict with the identity of the existing component.
The return value of the following call to InsertContent is a table which can be used to reference the substituted identity of the inserted component.
The width and height of a Slider can be specified, in pixels.
The fill color and the font color of a Slider can be specified.