Append Image to Report VI

Owning Palette: Report Generation VIs

Requires: Base Development System

For an HTML report, the VI embeds a link to an image into the report.

You can wire either a path to the image or a string that contains the image URL to this polymorphic VI. Wire data to the path or URL of image input to determine the polymorphic instance to use or manually select the instance.

Note  When you append an image to an HTML report, using a file that cannot be interpreted by the Web browser could make the image unreadable.

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Append Image to Report (path)

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.
alignment sets the alignment of the image in a report. (Report Generation Toolkit) For Microsoft Word reports, you can use only the LEFT, RIGHT, and MIDDLE options.

0(default)—The VI does not add an ALIGN attribute to the <IMG> tag.
1LEFT
2RIGHT
3TOP
4TEXTTOP
5MIDDLE
6ABSMIDDLE
7BASELINE
8BOTTOM
9ABSBOTTOM
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.
path or URL of image designates the path to the linked image. If you move the image, you must update the path.
caption or alternative string is the text to display instead of the image if you view the report in a Web browser set to display only text.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
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.
start out (Report Generation Toolkit) represents the index of the character at the beginning of the text inserted in the Microsoft Word document. The VI ignores this input for HTML reports.
end out (Report Generation Toolkit) represents the index of the character at the end of the text inserted in the Microsoft Word document. The VI ignores this input for HTML reports.
error out contains error information. This output provides standard error out functionality.

Append Image to Report (string)

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.
alignment sets the alignment of the image in a report. (Report Generation Toolkit) For Microsoft Word reports, you can use only the LEFT, RIGHT, and MIDDLE options.

0(default)—The VI does not add an ALIGN attribute to the <IMG> tag.
1LEFT
2RIGHT
3TOP
4TEXTTOP
5MIDDLE
6ABSMIDDLE
7BASELINE
8BOTTOM
9ABSBOTTOM
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.
path or URL of image designates the URL of the linked image. If you intend to post this page to the World Wide Web, use forward slashes (/) in paths. If the images are on your local computer or on a network, use backslashes (\) in the paths. If you move the images, you must update the links.
caption or alternative string is the text to display instead of the image if you view the report in a Web browser set to display only text.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
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.
start out (Report Generation Toolkit) represents the index of the character at the beginning of the text inserted in the Microsoft Word document. The VI ignores this input for HTML reports.
end out (Report Generation Toolkit) represents the index of the character at the end of the text inserted in the Microsoft Word document. The VI ignores this input for HTML reports.
error out contains error information. This output provides standard error out functionality.