Returns or modifies the height of a text object.
Rhino.TextObjectHeight (strObject [, dblHeight])
strObject |
Required. String. The identifier of the object. |
dblHeight |
Optional. Number. The new text height. If omitted, the current text height is returned. |
String |
If a height is not specified, the current text height if successful. |
String |
If a height is specified, the previous text height if successful. |
Null |
If not successful, or on error. |
Dim strObject
strObject = Rhino.GetObject("Select text")
If Rhino.IsText(strObject) Then
Rhino.TextObjectHeight strObject, 1.0
End If