Example #1
0
 public static void AssignFont(this TextBlock block, FontProperties font)
 {
     block.FontSize   = font.FontSize;
     block.FontFamily = font.FontFamily;
     block.FontStyle  = font.FontStyle;
     block.FontWeight = font.FontWeight;
 }
Example #2
0
 public static void AssignFont(this TextBlock block, FontProperties font)
 {
     block.FontSize = font.FontSize;
     block.FontFamily = font.FontFamily;
     block.FontStyle = font.FontStyle;
     block.FontWeight = font.FontWeight;
 }
 public TableFormatter()
 {
     HeaderFont = new FontProperties {FontWeight = FontWeights.Bold};
     TableCellFont = new FontProperties();
 }