English

Error: Run-time error '-2147220989 (80040203)'. The requested method could not be completed with the parameters provided.

Error Message

When writing custom code that uses the constructors for a circular arc, this message is returned in some cases where a straight line should be created. For example, where the chord length and arc length are equal for the ::ConstructBearingChordArc method.

Solution or Workaround

Test the chord length and arc length for equivalence, if they are equal construct a line. This a partial solution, since ideally a degenerate circular arc should be created. For example, ICircularArc::IsLine returns TRUE.

Related Information