Sets the font properties of the report, including those in the headers and footers.


icon

Inputs/Outputs

  • cu16.png font settings source (VI Inputs)

    font settings source (Report Generation Toolkit) specifies the way in which you want to select font settings.

    The VI ignores this input for HTML reports.

    0VI Inputs (default)—The VI uses the values you set in the font settings input. If you do not wire font settings, the VI uses the default font settings of the report class.
    1Font Dialog Box—A dialog box appears that you can use to select font settings.
  • cu32.png text color (unchanged)

    text color is the color of the text in the report.

    You can wire a color box constant to this input. The default is T, which leaves the text unchanged.

  • cNI__reportlvclass.png report in

    report in is a reference to the report whose appearance, data, and printing you want to control. Use the Create Report VI to generate this LabVIEW class object.

  • cnclst.png text options

    text options specifies how the text appears in the report.

  • cenum.png Italic

    Italic determines whether subsequent text appears in italics in the report. The default is Italic Unchanged.

    0
    Italic Unchanged
    1
    Italic On
    2
    Italic Off
  • cenum.png Strike Through

    Strike Through determines whether subsequent text appears with a strikethrough effect in the report. The default is Strike Through Unchanged.

    0
    Strike Through Unchanged
    1
    Strike Through On
    2
    Strike Through Off
  • cenum.png Underline

    Underline determines whether subsequent text appears underlined in the report. The default is Underline Unchanged.

    0
    Underline Unchanged
    1
    Underline On
    2
    Underline Off
  • cenum.png Bold

    Bold determines whether subsequent text appears bold in the report. The default is Bold Unchanged.

    0
    Bold Unchanged
    1
    Bold On
    2
    Bold Off
  • ccclst.png font settings

    font settings indicates the font settings a report uses.

  • ci16.png Charset (-1)

    charset is the character set to use for report text. The default is -1.

  • ci16.png Weight (-1)

    weight is the thickness of the font. The default is -1.

  • cstr.png Name

    name is the font name.

  • cstr.png Size

    size is the font size.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iNI__reportlvclass.png report out

    report out is a reference to the report whose appearance, data, and printing you want to control.

    You can wire this output to other Report Generation VIs.

  • icclst.png font out

    font out (Report Generation Toolkit) contains the font settings the VI uses for formatting, which you can use in other VIs. The values are valid for Microsoft Office reports only.

  • istr.png font name

    font name indicates the name of the font used, such as Times New Roman.

  • idbl.png font size

    font size indicates the size at which the font appears, in points.

  • iu16.png bold

    bold indicates whether the text is in bold.

  • iu16.png italic

    italic indicates whether the text is in italics.

  • iu16.png underline

    underline indicates whether the text is underlined.

  • iu16.png strike through

    strike through indicates whether the text is struck through.

  • iu32.png font color

    font color indicates the color of the text.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • The available properties include italic, bold, strikethrough, underline, color, font name, font size, character set, and weight. The font you specify in the VI becomes the default font for the report.

    If you use the Set Report Font VI to set a font in an HTML report, the <font> tag is used to set the font. This tag remains valid until the end of the file. There is no </font> used.

    The table generated by the Append Table to Report VI does not use the font defined by the Set Report Font VI. The header and body texts of the table have different default fonts. You can use HTML tags to configure the text font for each cell of the table. Refer to the example at ni.com for more information about how to generate tables with different fonts.