ポイントにテキスト描画
- 更新日2025-07-30
- 9分で読める
ピクチャ内に文字列を書き入れます。
このVIは、テキストの四角形境界を自動的に計算し、指定するポイントに対してテキストを位置付けます。

入力/出力
[user-specified font]
—
[user-specified font] specifies the specific font characteristics for the text to draw. 最適フォントがユーザ指定フォントである場合を除いて、VIはこの入力を無視します。
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)
—
テキストカラーは、テキストの色です。デフォルト値は黒です。 この入力には、カラーボックス定数を配線できます。
BG color(transparent)
—
BG color is the color of the background of the text. デフォルトは透明です。 この入力には、カラーボックス定数を配線できます。
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. また、この出力を「ピクチャからピックスマップに変換」VIへ配線して、画像データクラスタを取得できます。次に、グラフィック形式VIを使用して、この画像データをファイルに保存できます。この出力を「文字列連結」関数に配線して、複数のピクチャ関数VIの出力を連結して、単一のピクチャ制御器に描画できます。
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
—