new_measureregions
The new_measureregions function is a non-class version of the CMeasureRegions:new method which creates and returns a new CMeasureRegions object. You must create the object before using any class methods or properties.
C = new_measureregions() Creates a default CMeasureRegions object with properties initialized to default values. C = new_measureregions( Params ) Creates a CMeasureRegions object with default properties updated to values in the RegionParams Table, Params. C = new_measureregions( CMeasureRegions_old ) |
This is a copy constructor. It creates a new CMeasureRegions object initialized to the members of theCMeasureRegions_old argument.
The following script creates a new CMeasureRegions object, allows it to be used, then deletes it when no longer needed.
|
-- create a new CMeasureRegions |
-- do things with the region description |
|
|
-- draw a marker |
-- do other things |
|
|
-- delete the object |
CMeasureRegions class, new, delete, RegionParams Table
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.