Пример #1
0
 /// <summary>
 /// Sets the font of the entire string.
 /// </summary>
 /// <param name="font">The font to use.</param>
 public void ApplyFont(Chama.Utils.NPOI.SS.UserModel.IFont font)
 {
     ApplyFont(0, _string.CharCount, font);
 }
Пример #2
0
 /// <summary>
 /// Applies a font to the specified Chars of a string.
 /// </summary>
 /// <param name="startIndex">The start index to apply the font to (inclusive).</param>
 /// <param name="endIndex"> The end index to apply to font to (exclusive).</param>
 /// <param name="font">The index of the font to use.</param>
 public void ApplyFont(int startIndex, int endIndex, Chama.Utils.NPOI.SS.UserModel.IFont font)
 {
     ApplyFont(startIndex, endIndex, font.Index);
 }