Code: Select all
CADLine ne = cadImage.SelectedEntities[0];
// I change position of the new line
ne.Point = ne.Point.Offest(new DPoint(10,10,0),true);
ne.Point1 = ne.Point1.Offest(new DPoint(10,10,0),true);
this.cadImage.UseDoubleBuffering = false;
this.cadImage.Converter.GetSection(ConvSection.Entities).AddEntity(ne);
this.cadImage.Converter.OnCreate(ne);
this.cadImage.Converter.Loads(ne);
Can you help me?
Thanks