ピクチャ内に文字列を書き入れます。

このVIは、テキストの四角形境界を自動的に計算し、指定するポイントに対してテキストを位置付けます。


icon

入力/出力

  • ccclst.png [user-specified font]

    [user-specified font] specifies the specific font characteristics for the text to draw.

    最適フォントユーザ指定フォントである場合を除いて、VIはこの入力を無視します。

  • cstr.png Font Name:

    Font Name specifies the font to use for the text.

    正しくないフォント名の綴りを入力した場合、またはコンピュータにインストールされていないフォントを指定した場合、オペレーティングシステムによってフォントが選択されます。

  • ci16.png Size

    Size specifies the size of the font in points.

  • cbool.png Strikeout?

    Strikeout? specifies if the text appears in strikeout. If Strikeout? is TRUE, the text appears in strikeout.

  • cbool.png Italic?

    Italic? specifies if the text appears in italics. If Italic? is TRUE, the text appears in italics.

  • cbool.png Underline?

    Underline? specifies if the text is underlined. If Underline? is TRUE, the text appears underlined.

  • cbool.png Outline?

    Outline? specifies if the text is outlined. If Outline? is TRUE, the text appears outlined.

  • cbool.png Shadow?

    Shadow? specifies if the text has a shadow. If Shadow? is TRUE, the text appears in shadow.

  • cbool.png Bold?

    Bold? specifies if the text is bold. If Bold? is TRUE, the text appears bold.

  • cenum.png desired font(Application)

    desired font specifies the text font.

    0
    User-specified Font
    1
    Application Font
    (デフォルト)
    2
    System Font
    3
    Dialog Font
  • cpict.png picture

    picture is the picture to which you want to add the text string. The default is an empty picture.

  • cnclst.png origin

    origin is the coordinate of the starting point of the text.

  • ci16.png x

    x is the horizontal coordinate that increases to the right.

  • ci16.png y

    y is the vertical coordinate that increases to the bottom.

  • cnclst.png alignment(left, top)

    alignment specifies the location of the text relative to the origin you specify.

  • cenum.png horizontal

    horizontal sets the horizontal position of the text with respect to the origin.

    0left―テキストの左端を指定する原点の水平方向の要素。
    1center―テキストの中心を指定する原点の水平方向の要素。
    2right―テキストの右端を指定する原点の水平方向の要素。
  • cenum.png vertical

    vertical sets the vertical position of the text with respect to the origin.

    0top―テキストの上端を指定する原点の垂直方向の要素。
    1center―テキストの中心を指定する原点の垂直方向の要素。
    2bottom―テキストの下端を指定する原点の垂直方向の要素。
  • cstr.png text

    text is the string to draw in the picture.

  • cu32.png text color(black)

    テキストカラーは、テキストの色です。デフォルト値は黒です。

    この入力には、カラーボックス定数を配線できます。

  • cu32.png BG color(transparent)

    BG color is the color of the background of the text.

    デフォルトは透明です。

    この入力には、カラーボックス定数を配線できます。

  • cenum.png text orientation

    text orientation sets the orientation of the text to draw.

    0None (デフォルト)-テキストは普通に表示される。
    1Stacked―ラベルテキストは上下に整列されて表示されます。
    2Clockwise―テキストは時計回りに90度回転して表示され、上から下に読むテキストとなります。
    3Counterclockwise―テキストは反時計回りに90度回転して表示され、下から上に読むテキストとなります。
  • ipict.png 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の出力を連結して、単一のピクチャ制御器に描画できます。

  • inclst.png 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.

  • ii16.png left

    left is the horizontal coordinate of the left edge of the rectangle.

  • ii16.png top

    top is the vertical coordinate of the top edge of the rectangle.

  • ii16.png right

    right is the horizontal coordinate of the right edge of the rectangle.

  • ii16.png bottom

    bottom is the vertical coordinate of the bottom edge of the rectangle.