ImagePro>About using ipMeasGet


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ImagePro>About using ipMeasGet



Hi

After using the trace tool, i try to get some measurements (lenght, XY 
positions of the start and end points)  in a Visual Basic 6.0 macro but 
this don't work (i got values but bad one, all near "0").  Where is the 
problem ?
In the exemple i use GETSTATS  to get stastistical values (several traces). 
Does GETFEATVALUES can be used to get the same values of each trace ?

     Dim mesStatsLg(9) As Double
     Dim mesStatsDébX(9) As Double
     Dim mesStatsDébY(9) As Double
     Dim mesStatsFinX(9) As Double
     Dim mesStatsFinY(9) As Double

     ret = IpMeasGet(GETSTATS, MDATA_LEN, mesStatsLg(0))
     ret = IpMeasGet(GETSTATS, MDATA_START, mesStatsDébX(0))
     ret = IpMeasGet(GETSTATS, MDATA_STARTY, mesStatsDébY(0))
     ret = IpMeasGet(GETSTATS, MDATA_END, mesStatsFinX(0))
     ret = IpMeasGet(GETSTATS, MDATA_ENDY, mesStatsFinY(0))

Thanks in advance.

Didier Bazin.


----------------------------------------------------------
	Didier Bazin
	INRA - Station d'Hydrobiologie
	B.P.3
	64310 St-Pée sur Nivelle

	bazin@st-pee.inra.fr
	Tél: 05-59-51-59-49
----------------------------------------------------------




***********************************************************
This message was sent to you because you are subscribed to <imagepro-users@lists.mediacy.com>.
TO UNSUBSCRIBE, send an email to: <imagepro-users-off@lists.mediacy.com>
To switch to the DIGEST mode, email to <imagepro-users-digest@lists.mediacy.com>
To switch to the INDEX mode, email to <imagepro-users-index@lists.mediacy.com>
Send administrative queries to  <imagepro-users-request@lists.mediacy.com>
To SUBSCRIBE or UNSUBSCRIBE visit http://www.mediacy.com/tech/subscriber.htm
***********************************************************
Need an Image-Pro macro or driver? Find it at http://www.Solutions-Zone.com
Got an Image-Pro macro or driver? Add it to http://www.Solutions-Zone.com
***********************************************************



Search this Archive