long setStyle(string ck, int styleEnum)

This method sets the style of the line with CARIS Key ck to styleEnum, with possible values 0, 1, 2, or 3, indicating NONE, SOLID, DASHED, DOTTED, respectively. (NONE makes the line invisible.)

The method returns zero upon success, and returns an error code if