ActiveX Web Browser Web Page Scaling in LabVIEW

Updated Sep 6, 2019

Reported In


  • LabVIEW

Operating System

  • Windows



Issue Details

I use ActiveX web browser to display a web page on LabVIEW front panel. How do I change the scaling of the web page?


To scale the web page display on ActiveX web browser, create an invoke node on the block diagram and connect it to the web browser reference.
  1. Select ExecWB on the invoke node.
  2. Create a constant on the cmdID terminal and select OLECMDID_OPTICAL_ZOOM. 
  3. Create another constant on the cmdexecopt terminal and select OLECMDEXECOPT_DONTPROMPTUSER. 
  4. Input the scaling value into pvaln terminal by using a To Variant conversion function, as shown in the picture below.