GetTextShaper
GetTextShaper(string, int)
返回由指定字体的文本整形器的新实例fontPath和faceIndex.
public ITextShaper GetTextShaper(string fontPath, int faceIndex)
范围 | 类型 | 描述 |
---|---|---|
fontPath | String | 字体文件的绝对路径。 |
faceIndex | Int32 | TrueType 字体集合中的字体索引,如果指定的字体文件不是 TrueType 字体集合,则为 或 0。 |
也可以看看
- interface ITextShaper
- interface ITextShaperFactory
- 命名空间 Aspose.Words.Shaping
- 部件 Aspose.Words
GetTextShaper(string, byte[], int)
返回由以下字体表示的文本塑造器的新实例fontBlob和faceIndex.
public ITextShaper GetTextShaper(string fontId, byte[] fontBlob, int faceIndex)
范围 | 类型 | 描述 |
---|---|---|
fontId | String | 可与所提供字体唯一关联的唯一标识符fontBlob. |
fontBlob | Byte[] | 包含字体数据的字节数组。 |
faceIndex | Int32 | TrueType 字体集合中的字体索引,如果为 或 0fontBlob不是 TrueType 字体集合。 |
也可以看看
- interface ITextShaper
- interface ITextShaperFactory
- 命名空间 Aspose.Words.Shaping
- 部件 Aspose.Words