SetLineStyle

Syntax:

SetLineStyle( Width, Style, DashLength, SpaceLength )

Parameters:

Width – Width of the line. This parameter is required.

Style – A number indicating the type of curve to draw. Permissible values are: 0 for solid lines or 1 for dashed lines. This parameter is optional and the default is 0.

DashLength – Length of the dashes in a dashed line. This parameter is optional and the default is 0.

SpaceLength – Length of the space between dashes in a dashed line. This parameter is optional and the default is 0.

Remarks:

This function will set the line style for all shapes drawn in the frame using the script drawing commands.

Note:

All lines and shapes added to any individual frame are created as part of a single contour (this is a single continuous line). Changing the fill colour will cause all current shapes in the frame to be updated to the new colour. To draw multiple shapes in different colours shapes, use multiple frame objects.

image\Script_Button.jpgExamples