GetTextShaper
Contents
[
Hide
]GetTextShaper(string, int)
Returns new instance of a text shaper for the font specified by fontPath and faceIndex.
public ITextShaper GetTextShaper(string fontPath, int faceIndex)
Parameter | Type | Description |
---|---|---|
fontPath | String | An absolute path to the font file. |
faceIndex | Int32 | An index of the font face in the TrueType font collection, or 0 if specified font file is not TrueType font collection. |
See Also
- interface ITextShaper
- interface ITextShaperFactory
- namespace Aspose.Words.Shaping
- assembly Aspose.Words
GetTextShaper(string, byte[], int)
Returns new instance of a text shaper for the font represented by fontBlob and faceIndex.
public ITextShaper GetTextShaper(string fontId, byte[] fontBlob, int faceIndex)
Parameter | Type | Description |
---|---|---|
fontId | String | A unique identifier that can be uniquely associated with the provided font fontBlob. |
fontBlob | Byte[] | Byte array with the font data. |
faceIndex | Int32 | An index of the font face in the TrueType font collection, or 0 if fontBlob is not TrueType font collection. |
See Also
- interface ITextShaper
- interface ITextShaperFactory
- namespace Aspose.Words.Shaping
- assembly Aspose.Words