示例#1
0
 public FontDefinition(string fontType, int size)
 {
     Height       = size;
     FontType     = fontType;
     _orientation = FieldOrientation.Normal;
 }
示例#2
0
 public LabelTextGenerator SetFont(string type, FieldOrientation orientation, int size)
 {
     _font = new FontDefinition(type, size);
     _font.SetOrientation(orientation);
     return(this);
 }
示例#3
0
 public FontDefinition SetOrientation(FieldOrientation orientation)
 {
     _orientation = orientation;
     return(this);
 }