Append Horizontal Line to Report VI

Owning Palette: HTML Reports Only VIs

Requires: Base Development System

Creates a horizontal rule in an HTML report.

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

Example

 Add to the block diagram  Find on the palette
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.
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.
rows specifies the row index.
columns specifies the column index.
name contains the name of the cell in a Microsoft Excel worksheet from which the insertion occurs.
bookmark contains the name of the bookmark in a Word document from which the insertion occurs.
size sets the height of the horizontal rule. The default is 1.
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.
align aligns the rule on the report.

0(default)—The VI does not add an ALIGN attribute to the <HR> tag.
1LEFT
2CENTER
3RIGHT
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.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
width units determines whether the width you specify is in pixels or a percentage of the page.

0Pixels
1Percentage (default)
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.
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.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the HTML Report VI in the labview\examples\Report Generation\HTML Reports directory for an example of using the Append Horizontal Line to Report VI.

 Open example  Find related examples