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;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top