Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computer Aided Design - CAD > Programming with Microstation > I'm trying to j...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 411 of 451
Post > Topic >>

I'm trying to justify text

by "Gray Hound" <craig.petersen@[EMAIL PROTECTED] > Oct 12, 2006 at 01:18 PM

Any ideas

Private Sub CommandButton3_Click()
Object.GetSelectedElements
    Dim oEnumerator As ElementEnumerator

    Set oEnumerator = ActiveModelReference.GetSelectedElements

    Do While oEnumerator.MoveNext
        Dim oElement As Element

        Set oElement = oEnumerator.Current

        oElement.TextStyle.NodeJustification =
msdTextJustificationLeftTop
        oElement.TextStyle.Justification = msdTextJustificationLeftTop
        oElement.Redraw msdDrawingModeNormal
        oElement.Rewrite
    Loop

    ActiveModelReference.UnselectAllElementsEnd Sub
    End Sub




 1 Posts in Topic:
I'm trying to justify text
"Gray Hound" &l  2006-10-12 13:18:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 4 14:59:30 CDT 2008.