PrintVIToHTML Method
Installed With: Base Package
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
Name | Type | Description |
---|---|---|
htmlFilePath | String | Path 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. |
append | Boolean | Specifies whether the new information will be appended to an existing file. The default is FALSE. |
format | PrintFormatEnum | Specifies which VI information to print and the format of the printout. You can select from eCustom, eStandard, eUsingPanel, eUsingSubVI, or eComplete. |
imageFormat | HTMLImageFormatEnum | Format of the graphic files. Select from ePNG or eJPEG. |
imageDepth | Long | Sets 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. |
imageDirectory | String | Path 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