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
SyntaxITextShaper GetTextShaper(
string fontPath,
int faceIndex
)
Function GetTextShaper (
fontPath As String,
faceIndex As Integer
) As ITextShaper
ITextShaper^ GetTextShaper(
String^ fontPath,
int faceIndex
)
abstract GetTextShaper :
fontPath : string *
faceIndex : int -> ITextShaper
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