Get Text Rect VI
- Updated2025-01-28
- 5 minute(s) read
Get Text Rect VI
Returns a cluster that contains the left, top, right, and bottom dimensions, in pixels, of a string.

Inputs/Outputs
![]() [user-specified font] specifies the specific font characteristics for the text to draw. The VI ignores this input unless desired font is User-specified Font.
![]() desired font specifies the text font.
![]() alignment specifies the location of the text relative to the origin you specify.
![]() origin is the coordinate of the starting point of the text.
![]() text is the string to draw in the picture. ![]() text orientation sets the orientation of the text for which you want the bounding rectangle.
![]() rect is a cluster that contains coordinates that describe the left, top, right, and bottom coordinates of the outer edges of the rectangle. Horizontal coordinates increase to the right, and vertical coordinates increase to the bottom.
|