Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

Connect C++ Iterating TextStyles

$
0
0

Hi!

How do I iterate  the TextStyles defined in a designfile using the  C++ Connect API?

I have tried the following, but the iter++ statement won't compile:

DgnFileP dgnObjP = mdlModelRef_getDgnFile(ACTIVEMODEL);

TextStyleCollection coll(*dgnObjP);

TextStyleIterator iter = coll.begin();

TextStyleIterator end = coll.end();

for (; iter!=end; iter++);

{

   DgnTextStyleP tsP = (*iter);

   WString sName = tsP->GetName();

}


Viewing all articles
Browse latest Browse all 7260

Trending Articles