setRegionResizable

Make a highlighted region resizable or not.
setRegionResizable([in] LONG regionHandle, [in] VARIANT_BOOL resizable)
This function sets the resizability of the specified highlighted region. If resizable is true, selecting the region will make resize handles visible. If resizable is false, selecting the region will not make it resizable.

A region must be selectable to be resizable. The initial state, after a region is created with addRegion, is resizable if the region is selectable.

The region handle comes from addRegion, getRegion, or getSelectedRegion.

VB:
viewer.setRegionResizable(region, False)
addRegion