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

How to read Number of ED fields in the Text C# .Net

$
0
0

How to read Number of ED fields in the Text C# .Net. while reading am getting text alone ED fields are missing while reading text. for examlpe _ _ _ 10, while reading am getting only 10. ED fields _ _ _ are missing.

ile reading this text my getting only . ED fields are m issing. How to read this ED fields as well  in .NET, C#.

if (oEl.Text != string.Empty)
            {
                DgnText Text = new DgnText();
                Text.Origin = oEl.get_Origin();
                Text.strText = oEl.Text;
                Text.Judification = oEl.TextStyle.Justification;
                double dsize; double dHeight;
                oEl.GetTotalTextSize(out dsize, out dHeight);

                Text.Height = dHeight;
                Text.isUnderLined = oEl.TextStyle.IsUnderlined;
                MicroStationDGN.Matrix3d Shapepts = oEl.get_Rotation();

                if (Shapepts.RowX.X == -1 || Shapepts.RowX.Y == -1 || Shapepts.RowY.X == -1 || Shapepts.RowY.Y == -1)
                    Text.Rotation = 90;
                else
                    Text.Rotation = 0;

                DgnTexts.Add(Text);
            }

Viewing all articles
Browse latest Browse all 7260

Trending Articles



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