McMMDataAddFeaturesAsManualMeasurements Method |
![]() |
Namespace: MediaCy.Addins.Measurements
Public Sub AddFeaturesAsManualMeasurements ( srcFeatures As McFeatures, Optional bCreateBackup As Boolean = true )
'measure dark objects ThisApplication.ActiveImage.RegionFeatures.Threshold.AutoFindPhase = mcfpDarkest 'threshold image and measure all objects above the threshold ThisApplication.ActiveImage.RegionFeatures.Threshold.Execute 'add these objects as manual measurements (Polygons) ThisApplication.MeasurementsData.AddFeaturesAsManualMeasurements ActiveImage.RegionFeatures