Creates a horizontal rule in an HTML report.

This VI also creates a horizontal rule in a Microsoft Word or Excel report.


icon

Inputs/Outputs

  • ccclst.png MS Office parameters

    MS Office parameters (Report Generation Toolkit) specifies the point in a Microsoft Word or Excel report where you want an insertion to occur. The VI ignores this input for HTML reports.

    You can specify a bookmark in Word or a named range or cell coordinates in Excel. If you set the report type to Word but do not specify a bookmark, the insertion occurs at the end of the document.

  • cnclst.png position (Excel)

    position contains the row and column coordinates of the point in an Excel worksheet from which the insertion occurs.

    Row and column values in Excel are zero-based, so the row and column coordinates of (0,0) correspond to cell A1.

  • ci32.png row

    rows specifies the row index.

  • ci32.png column

    columns specifies the column index.

  • cstr.png name (Excel)

    name contains the name of the cell in a Microsoft Excel worksheet from which the insertion occurs.

  • cstr.png bookmark (Word)

    bookmark contains the name of the bookmark in a Word document from which the insertion occurs.

  • ci32.png size (default)

    size sets the height of the horizontal rule.

    The default is 1.

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

  • cenum.png align (default)

    align aligns the rule on the report.

    0(default)—The VI does not add an ALIGN attribute to the <HR> tag.
    1LEFT
    2CENTER
    3RIGHT
  • cdbl.png width (100=default)

    width sets the width of the horizontal rule, either in pixels or as a percentage of the page, depending on the value you wire to width units.

    The default is 100.

  • cerrcodeclst.png error in (no error)

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

  • cenum.png width units

    width units determines whether the width you specify is in pixels or a percentage of the page.

    0
    Pixels
    1
    Percentage
    (default)
  • cbool.png noshade (F)

    noshade indicates whether to create a solid (TRUE) or three-dimensional (FALSE) horizontal rule.

    If TRUE, the VI adds the noshade attribute to the horizontal rule tag. The default is FALSE.

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

  • ierrcodeclst.png error out

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

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Report Generation\HTML Reports\HTML Report.vi