TextShape Kerning
Gets or set whether the kerning adjustment is enabled for this text shape. Kerning adjusts the spacing between characters in a proportional font using the kerning information embedded with the font.
public bool Kerning {get;Set} |
Return value
bool | Returns TRUE if kerning enabled. |
Example
Copy
TextShape textShape = new TextShape();
textShape.AddText("Sample text Sample text", "Arial", FontStyle.Regular, 10f, 1f);
textShape.TextBoxHeight = 20;
textShape.TextBoxWidth = 60;
textShape.Kerning = true;
vectorImage.AddText(textShape);