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

Re: [v8i] How to use MsdDimStackedFractionAlignment class

$
0
0

Thanks Mr. Fu

I checked the help file and I am stuck with this line of codes.

Function StackedFractionSetting(ByVal otextElement As TextElement)

   Dim oDimensionStyle                     As DimensionStyle
   Dim oDim As DimensionElement
   Dim StackFraction                       As MsdDimStackedFractionAlignment
   Dim ee                                         As  ?        

   Set ee = ActiveModelReference.GraphicalElementCache.Scan
   Set oDim = ee.?
  

   Set oDimensionStyle = oDim.DimensionStyle

   oDimensionStyle.StackedFractionAlignment = MsdDimStackedFractionAlignmentCenter

End Function

 

I wanted to store value in the oDimensionStyle. and apply this
oDimensionStyle.StackedFractionAlignment = MsdDimStackedFractionAlignmentCenter to the text element in the main Sub.

please  help? Thanks.

 

 


Viewing all articles
Browse latest Browse all 1677

Trending Articles



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