OpenLvVision_Overlays.lvlib:OverlayText.vi

Overlays an text on top of an image.

OpenLvVision_Overlays.lvlib:OverlayText.vi

cerrcodeclst

error in

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    cbool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ci32

    code

    cstr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cudtagrefflat

Image Reference In

An Image reference is a handle to the actual image data in memory. It's important to note that you are responsible for manually releasing (deallocating) the memory associated with this image reference when it's no longer needed to prevent memory leaks.

cstr

GroupName

Name of the overlay group you want to add to.

cnclst

Origin

    ci32

    X

    ci32

    Y

cstr

Text

cu32

Text Color (black)

Text Color (black) is the color of the text.

cu32

BG Color (Transparent)

BG Color (Transparent) is the background color of the text overlay.

ccclst

Font, Size & Style

Font, Size & Style is a cluster that enables the user to choose the font, size, style, and alignment of the text.

    cenum

    Desired Font (Application)

    Desired Font (Application) specifies the character type of the text.

    ccclst

    [User-specified Font]

    [User-specified Font] is a cluster containing the specific font characteristics for the text to draw.

      cstr

      Font Name

      Font Name is the font to use for the string.

      ci16

      Size

      Size is the size of the font in points.

      cbool

      Strikeout?

      Strikeout? causes the text to appear in strikeout if TRUE.

      cbool

      Italic?

      Italic? causes the text to appear in italic if TRUE.

      cbool

      Underline?

      Underline? causes the text to appear underlined if TRUE.

      cbool

      Outline?

      Outline? causes the text to appear in outline if TRUE.

      cbool

      Shadow?

      Shadow? causes the text to appear in shadow if TRUE.

      cbool

      Bold?

      Bold? causes the text to appear in bold if TRUE

      cdbl

      Rotation Angle

      Rotation Angle is the orientation of the text in the image. NI Vision supports rotated text for TrueType fonts only.

    ci16

    Horizontal Alignment

    Horizontal Alignment specifies the horizontal alignment of the text.

    ci16

    Vertical Alignment

    Vertical Alignment specifies the vertical alignment of the text.

ierrcodeclst

error out

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ibool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ii32

    code

    istr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

iudtagrefflat

Image Reference Out

An Image reference is a handle to the actual image data in memory. It's important to note that you are responsible for manually releasing (deallocating) the memory associated with this image reference when it's no longer needed to prevent memory leaks.