SetColorIndex

TextStyle.SetColorIndex method

在 Document.Colors 数组中设置颜色索引

public void SetColorIndex(int value)
范围类型描述
valueInt32颜色指数值

也可以看看