Returns or modifies the justification of a text object.
Rhino.TextObjectJustification (strObject [, intJustification])
strObject |
Required. String. The identifier of the object. |
||||||||||||||||||||
intJustification |
Optional. Number. The justification. If omitted, a Bottom-Left justification (0) is used. The justification can be any number of the following flags:
|
Number |
If a justification is not specified, the current justification if successful. |
Number |
If a justification is specified, the previous justification if successful. |
Null |
If not successful, or on error. |
Dim strObject
strObject = Rhino.GetObject("Select text")
If Rhino.IsText(strObject) Then
Rhino.TextObjectJustification strObject, 0
End If