PrintVIToHTML Method

Requires: Base Development System

Class: VI Methods (ActiveX)

Saves the VI information to an HTML file and saves the graphics in external files.

Syntax

object.PrintVIToHTML(htmlFilePath, [append], [format], [imageFormat], [imageDepth], [imageDirectory])

Parameters

NameTypeDescription
htmlFilePathStringPath to the HTML file in which you want to save the VI information. The directory in which you want to save the file must already exist, and you must wire a full path including the HTML filename.
appendBooleanSpecifies whether the new information will be appended to an existing file. The default is FALSE.
formatPrintFormatEnumSpecifies which VI information to print and the format of the printout. You can select from eCustom, eStandard, eUsingPanel, eUsingSubVI, or eComplete.
imageFormatHTMLImageFormatEnumFormat of the graphic files. Select from ePNG or eJPEG.
imageDepthLongSets the color depth, or number of supported colors, of the image: 1 (1-bit, black and white), 4 (4-bit, 16 colors), 8 (8-bit, 256 colors), or 24 (24-bit, true color). The default is 8.
imageDirectoryStringPath to the directory in which you want to save the graphic files. The directory in which you want to save the files must already exist. If not specified, LabVIEW saves the image files in the same directory as the HTML or RTF file.

Return Value

none