Draw Text at Point VI
- Updated2025-07-30
- 5 minute(s) read
Draws a string into a picture.
This VI automatically calculates the bounding rectangle of the text and positions the text with respect to the point you specify.

Inputs/Outputs
[user-specified font]
—
[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(Application)
—
desired font specifies the text font.
picture
—
picture is the picture to which you want to add the text string. The default is an empty picture.
origin
—
origin is the coordinate of the starting point of the text.
alignment(left, top)
—
alignment specifies the location of the text relative to the origin you specify.
text
—
text is the string to draw in the picture.
text color(black)
—
text color is the color of the text. The default is black. You can wire a color box constant to this input.
BG color(transparent)
—
BG color is the color of the background of the text. The default is transparent. You can wire a color box constant to this input.
text orientation
—
text orientation sets the orientation of the text to draw.
new picture
—
new picture is the picture that contains the new image. You can wire this output to any other picture input to add more drawing instructions to the picture. You also can wire this output to the Picture to Pixmap VI to obtain an image data cluster. You then can use the Graphics Formats VIs to save the image data to a file. You can wire this output to the Concatenate Strings function to concatenate the output from multiple Picture Functions VIs so that they draw on a single picture control.
text rect
—
text rect is a cluster that contains coordinates that describe the left, top, right, and bottom coordinates of the outer edges of the rectangle.
|
[user-specified font]
—
Font Name:
—
Size
—
Strikeout?
—
desired font(Application)
—
picture
—
origin
—
text color(black)
—
new picture
—
text rect
—
left
—