Style Property

NI Vision for Visual Basic

Style Property

Syntax

CWIMAQTextOptions.Style

Data Type

CWIMAQTextStyles

You can use the following constants with this data type:

  • cwimaqTextStyleBold—Bold.
  • cwimaqTextStyleItalic—Italic.
  • cwimaqTextStyleNormal—Normal.
  • cwimaqTextStyleOutline—Outline.
  • cwimaqTextStyleShadow—Shadow.
  • cwimaqTextStyleStrikeout—Strikeout.
  • cwimaqTextStyleUnderline—Underline.

Purpose

Style of the text. The default is cwimaqTextStyleNormal.

Remarks

To set multiple style attributes, add the appropriate constants together. For example TextOptions.Style = cwimaqTextStyleBold + cwimaqTextStyleItalic.