Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Parameters of GetSelectedRectangleFromViewer in C#

hi,

 

I build a project in C# with NI Vision. But i don't know how to put params for the function: GetSelectedRectangleFromViewer()

 

In C#, this function like:  GetSelecetedRectangleFromViewer(CWIMAQViewer viewer, CWIMAQRectangle rectangle, object raiseErrorOnBadIndex, object index)

 

How can i put params 2 and 3  (object raiseErrorOnBadIndex, object index) for this function ? I don't understand which kind of data type.

 

Anyone help me ?

 

Ps:  Is there any documents for guiding use NI Vision with C# ? If yes, pls upload or point me a link, thank you so much !

0 Kudos
Message 1 of 2
(3,148 Views)
Are you developing in Visual Studio?  If so, I would recommend the help feature in that program.  The class structure is set out and completely interlinked, which will allow you to see what these functions do and how to use them.  Let us know here if you can't understand anything from the help there.
Stephen Meserve
National Instruments
0 Kudos
Message 2 of 2
(3,129 Views)