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

[V8i - VBA ] Text without textstyle shows active text style property

$
0
0

Hello,

 When using this code :

    If oElem.IsTextElement Then
        textStyleName = oElem.AsTextElement.TextStyle.name
    End If

If the text element has no text style (textstyle "none"), The textstyle.name property of the element  is set to the active text style name.

How can i know if the text has textstyle "None" ?

Many thanks and regards


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>