public int CreateCurve(int shti, int pnts, ref object x, ref object y) { return(ComObject.CreateCurve(shti, pnts, ref x, ref y)); }