Ejemplo n.º 1
0
 public Cell(RenderProperties renderProperties)
 {
     this.RenderProps = renderProperties;
     this._text       = " ";
     this.TypeFace    = new Typeface(new FontFamily("Courier"), FontStyles.Normal, FontWeights.Normal, FontStretches.Condensed);
     this.FontSize    = 12;
     this.Width       = this.FontSize;
     this.Height      = Math.Ceiling(this.FontSize * this.TypeFace.FontFamily.LineSpacing);
 }
Ejemplo n.º 2
0
 public Cell(RenderProperties renderProperties)
 {
     this.RenderProps = renderProperties;
     this._text = " ";
     this.TypeFace = new Typeface(new FontFamily("Courier"), FontStyles.Normal, FontWeights.Normal, FontStretches.Condensed);
     this.FontSize = 12;
     this.Width = this.FontSize;
     this.Height = Math.Ceiling(this.FontSize * this.TypeFace.FontFamily.LineSpacing);
 }