ITextShaperFactoryGetTextShaper Method

Returns new instance of a text shaper for the font specified by fontPath and faceIndex.

Namespace:  Aspose.Words.Shaping
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
ITextShaper GetTextShaper(
	string fontPath,
	int faceIndex
)

Parameters

fontPath
Type: SystemString
An absolute path to the font file.
faceIndex
Type: SystemInt32
An index of the font face in the TrueType font collection, or 0 if specified font file is not TrueType font collection.

Return Value

Type: ITextShaper
See Also