ShapeAPI.createCircle

 

long createCircle(string ck, string fc, string x, string y, double r)

This methods creates a new circle feature of radius r, with CARIS Key and Feature Code given by ck and fc, respectively.  The circle is centered at location (x, y), which must be relative to the Exchange Coordinate System, unless the map type is NRMR (See Map Types).

The circle feature is created with the current defaults for line weight, line style, fill style, and color,as well as the current default restriction.  These defaults can be modified by the ShapeAPI methods:

respectively, by calling one or more of them prior to createCircle.

The method returns 0 upon success, and returns error codes for the following conditions: