//贝塞尔曲线
GeoBezier bezier = null;
//起始点
Dot beginDot = null;
//控制点一
Dot ctrlDot0 = null;
//控制点二
Dot ctrlDot1 = null;
//结束点
Dot endDot = null;
//起始点
beginDot = new Dot();
beginDot.X = 100;
beginDot.Y = 100;
//控制点一
ctrlDot0 = new Dot();
ctrlDot0.X = 150;
ctrlDot0.Y = 200;
//控制点二
ctrlDot1 = new Dot();
ctrlDot1.X = 250;
ctrlDot1.Y = 300;
//结束点
endDot = new Dot();
endDot.X = 200;
endDot.Y = 200;
bezier = new GeoBezier();
bezier.Set(beginDot, ctrlDot0, ctrlDot1, endDot);
//启动
disp.Begin();
disp.SetPen(1, 6);
//绘制
disp.Bezier(bezier, 5);
disp.End();
//将折现对象存入简单要素类
Record rcd = new Record();
rcd.Fields = lineCls.Fields;
long oid = lineCls.Append(bezier, rcd, lineInfo);
rcd.SetValue("ID", oid);
lineCls.UpdateAtt(oid, rcd);
lineOids.Add(oid);