setRegionLabel

Update a highlighted region's label.
setRegionLabel([in] LONG regionHandle, [in] BSTR label)
This function changes the label for the specified highlighted region.

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

VB6:
viewer.setRegionLabel region, "new label"
addRegion