Example #1
0
 public Length(Length newLength)
 {
     this.length = newLength.length;
     this.units  = new CoordinateSystem.Units(newLength.units.UnitType);
 }
Example #2
0
 public Rectangle(Length Left, Length Top, Size LabelSize)
 {
     this.Left = new Length(Left);
     this.Top  = new Length(Top);
     this.Size = new Size(LabelSize);
 }
Example #3
0
 public Size(Length Width, Length Height)
 {
     this.Width  = new Length(Width);
     this.Height = new Length(Height);
 }
Example #4
0
 public Size(Size oldSize)
 {
     this.Width        = oldSize.Width;
     this.Height       = oldSize.Height;
     this.DefaultUnits = oldSize.DefaultUnits;
 }
Example #5
0
 public Size(float Width, float Height, System.Drawing.GraphicsUnit GraphicsUnit)
 {
     this.Width  = new Length(Width, new Tools.CoordinateSystem.Units(GraphicsUnit));
     this.Height = new Length(Height, new Tools.CoordinateSystem.Units(GraphicsUnit));
 }