SetFontIndex

TextStyle.SetFontIndex method

在 Document.FontNames 数组中设置字体名称的索引

public void SetFontIndex(int value)
范围类型描述
valueInt32字体索引值

也可以看看