Refresh Method

NI Vision Builder ActiveX

Refresh Method

Syntax

NIVBAIInspectionImage.Refresh [XZoom = 0], [YZoom = 0]

Purpose

Updates NIVBAIInspectionImage.Image with the latest image from the inspection.

Parameters

XZoom as Variant

Indicates how much to zoom the image horizontally. Values can be zero or less, and negative numbers indicate how far to zoom out. If this value is anything other than zero, overlays are lost.

YZoom as Variant

Indicates how much to zoom the image vertically. Values can be zero or less, and negative numbers indicate how far to zoom out. If this value is anything other than zero, overlays are lost.