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

RE: Connect VBA GetTotalTextSize

$
0
0
Here's a simple test function:

Function TextTest()
Dim oText As TextElement
Dim dblTXWidth As Double, dblTXHeight As Double
Set oText = CreateTextElement1(Nothing, "This is a test", Point3dOne, Matrix3dIdentity)
oText.GetTotalTextSize dblTXWidth, dblTXHeight
Debug.Print "Width = " & dblTXWidth & ", Height = " & dblTXHeight
End Function

It doesn't matter what you enter for the text string. The value for both the text string width and height is reported as 33600.

Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

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