ShapeText
ITextShaper.ShapeText method
Returns Cluster
objects generated from a sequence of text fragments. Length of the returned array is equal to length of runs. If run at an index has corresponding clusters then result at the same index will have them recorded.
public Cluster[][] ShapeText(string[] runs, Direction direction, UnicodeScript script,
FontFeature[] enabledFontFeatures, VariationAxisCoordinate[] variations)
Parameter | Type | Description |
---|---|---|
runs | String[] | A sequence of text fragments |
direction | Direction | A direction of text |
script | UnicodeScript | A script |
enabledFontFeatures | FontFeature[] | A set of explicitly enabled OpenType features to consider |
variations | VariationAxisCoordinate[] | Font’s variation axis values |
See Also
- class Cluster
- enum Direction
- enum UnicodeScript
- enum FontFeature
- class VariationAxisCoordinate
- interface ITextShaper
- namespace Aspose.Words.Shaping
- assembly Aspose.Words