SetSize Method

NI Vision for Visual Basic

SetSize Method

Syntax

CWIMAQKernel.SetSize Width, Height

Purpose

Sets the width and height of the kernel matrix simultaneously.

Remarks

This is a destructive operation. After setting the size, all elements of the kernel will have the value 0.

Parameters

Width As Long

The new width of the kernel matrix.

Height As Long

The new height of the kernel matrix.