TextRange.Runs.Count in C++

  • Thread starter Thread starter Mike M.
  • Start date Start date
M

Mike M.

PPT 2002, Visual Studio 6.0.
In VB I have shape.TextFrame.TextRange.Runs.Count to get the run count.
Any one know how to get the run count using c++?

TIA
 
range = shape->TextFrame->TextRange;

// get a text range pointer with all runs in it so we can count how many
objects in it.
allRanges = range->Runs(1, 9999);
nbrRuns = allRanges->Count;
 
Back
Top