I want to adjust font spacing to adjust text kerning, but I can't find any properties of that.
Can Spire.Presentaion get and set font spacing?
Regards.
foreach(ISlide slide in ppt.Slides)
{
foreach (IShape ishape in slide.Shapes)
{
IAutoShape autoShape = ishape as IAutoShape;
foreach (TextParagraph textParagraph in autoShape.TextFrame.Paragraphs)
{
foreach (TextRange textRange in textParagraph.TextRanges)
{
//set font space
textRange.LineSpacing = 5f;
//get font space
float lineSpace = textRange.LineSpacing;
}
}
}
}