Exemple #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);
 }
Exemple #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);
 }