Trace une chaîne sur une image.

Ce VI calcule automatiquement le rectangle délimitant le texte et positionne le texte par rapport à un point que vous avez spécifié.


icon

Entrées/Sorties

  • ccclst.png [user-specified font]

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

    Le VI ignore cette entrée sauf si la police désirée est la police utilisateur.

  • cstr.png Font Name:

    Font Name specifies the font to use for the text.

    Si vous orthographiez incorrectement le nom de la police ou spécifiez une police qui n'est pas installée sur l'ordinateur, le système d'exploitation sélectionne une police.

  • 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
    (valeur par défaut)
    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— La composante horizontale de l'origine définit le bord gauche du texte.
    1center— La composante horizontale de l'origine définit le centre du texte.
    2right— La composante horizontale de l'origine définit le bord droit du texte.
  • cenum.png vertical

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

    0top— La composante verticale de l'origine définit le bord supérieur du texte.
    1center— La composante verticale de l'origine définit le centre du texte.
    2bottom— La composante verticale de l'origine définit le bord inférieur du texte.
  • cstr.png text

    text is the string to draw in the picture.

  • cu32.png text color(black)

    couleur du texte désigne la couleur du texte. La couleur par défaut est le noir.

    Vous pouvez câbler une constante boîte de couleur à cette entrée.

  • cu32.png BG color(transparent)

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

    La couleur par défaut est transparente.

    Vous pouvez câbler une constante boîte de couleur à cette entrée.

  • cenum.png text orientation

    text orientation sets the orientation of the text to draw.

    0None (valeur par défaut) — Le texte apparaît normal.
    1Stacked— Le texte apparaît empilé.
    2Clockwise— Le texte subit une rotation de 90° dans le sens des aiguilles d'une montre, ce qui le rend vertical et nécessite une lecture de haut en bas.
    3Counterclockwise— Le texte subit une rotation de 90° dans le sens contraire des aiguilles d'une montre, ce qui le rend vertical et nécessite une lecture de bas en haut.
  • 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.

    Vous pouvez aussi câbler cette sortie au VI Image en table de pixels pour obtenir un cluster données image. Vous pouvez alors enregistrer les données image dans un fichier en utilisant les VIs Formats graphiques. Vous pouvez câbler cette sortie à la fonction Concaténer des chaînes pour concaténer la sortie de plusieurs VIs Fonctions sur les images pour permettre un traçage sur une commande image unique.

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