Exemplo n.º 1
0
 public override Object Clone()
 {
     var result = new LabelProperty();
     result.InitProperty();
     Copy(result);
     return result;
 }
Exemplo n.º 2
0
 public override void OnMouseDown(IToolDrawArea drawArea, MouseEventArgs e)
 {
     var property = new LabelProperty();
     property.InitProperty();
     property.Size = "1,1";
     property.Location = String.Format("{0},{1}", e.X, e.Y);
     var draw = new DrawLabel(property);
     drawArea.AddNewDrawObject(draw);
 }
Exemplo n.º 3
0
 public override IDrawObject CreateDrawObject(PageControl control)
 {
     var property = new LabelProperty();
     InitDrawObjectFromPageControl(control, property);
     return new DrawLabel(property);
 }