I just want to update the characters spacing in Powerpoint with C#, but I don't know how to do it. I iterate Slides
and Shapes
, but I cannot find a Spacing
property in Font
like Word.
int slideCount = pprst.Slides.Count;
for (int s = 1; s <= slideCount; ++s )
{
MSPPT.Slide slide = pprst.Slides[s];
int shapeCount = slide.Shapes.Count;
for (int h = 1; h <= shapeCount; ++h)
{
MSPPT.Shape shape = slide.Shapes[h];
MSPPT.TextRange textRange = shape.TextFrame.TextRange;
}
}
Just paste the code here if someone need it.