M_XY::GetY

Get the coordinate Y value

double GetY(
   int  option
);

Parameters
option
mode select
0:for output, 1:for display

Return Value
Return the coordinate Y

Description
Get the coordinate Y

Example
int CLASSNAME::MeasureDispG(ProcUnit *ptrProcUnit, int subNo, ImageWindow *ptrImageWindow)
{

        // M_XY   position;         Measured data

        // display the position cursor

        ptrImageWindow->SetDrawStyle(PS_SOLID, 0, ptrProcUnit->GetUnitJudge());
        ptrImageWindow->DrawCursor(position.GetX(1), position.GetY(1), ptrProcUnit, 0);
}