ExcelRpt_SetMinimumMonitor
- Updated2023-02-21
- 1 minute(s) read
HRESULT ExcelRpt_SetMinimumMonitor (CAObjHandle workbookHandle, long resolution, long pixelsPerInch);
Purpose
Sets the minimun monitor settings that should be used when viewing the contents of this workbook from a Web browser.
Parameters
| Input | ||
| Name | Type | Description |
| workbookHandle | CAObjHandle | A handle to an Excel Workbook object. |
| resolution | long | Select the minimum screen size with which the contents of this workbook should be viewed from a Web browser. |
| pixelsPerInch | long | Select the number of pixels per inch with which the contents of this workbook should be viewed from a Web browser. This setting affects the size of graphics relative to the size of text on the screen. |
Return Value
| Name | Type | Description |
| status | HRESULT | A value indicating whether an error occurred. Function failure is indicated by a negative error code. Error codes are defined in CVIversion\include\cviauto.h and <Program Files>\National Instruments\Shared\MSDTRedistributables\SDKHeaderFiles\8.1\winerror.h. You can use CA_GetAutomationErrorString to get the description of an error code. |
Additional Information
Library: Excel Report
Include file: activex\excel\ExcelReport.h
LabWindows/CVI compatibility: LabWindows/CVI 7.0 and later