From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I programmatically modify/delete ROI of an ImageViewer in .NET by name instead by index ?

How can I programmatically modify/delete ROI of an ImageViewer in .NET by name instead by index ?

Now i modify a ROI by using:

 

 

 

  AxCWIMAQViewer_estrusione.Regions.Item(1).Move

 

 

0 Kudos
Message 1 of 2
(2,612 Views)

Hi Marcello,

I had a look in the Component Works manual but it seems that the only way you can point to the ROI is using the index. Have a look at page 6-4 for example.

 

Serena

 

0 Kudos
Message 2 of 2
(2,591 Views)