コード例 #1
0
 public PdfTextNode(string text, string size, FontWeightTag.Values weight, TextAlignTag.Values align)
 {
     Text   = text;
     Weight = new FontWeightTag(weight);
     Align  = new TextAlignTag(align);
     Size   = new FontSizeTag(size);
     Border = new BorderTag(BorderTag.StyleValues.none, 2);
 }
コード例 #2
0
 public PdfTextNode(string text, string size)
 {
     Text   = text;
     Weight = new FontWeightTag(FontWeightTag.Values.normal);
     Align  = new TextAlignTag(TextAlignTag.Values.left);
     Size   = new FontSizeTag(size);
     Border = new BorderTag(BorderTag.StyleValues.none, 2);
 }