M_XY::GetX

Get the coordinate X value

double GetX(
   int  option
);

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

Return Value
Return the coordinate X

Description
Get the coordinate X

Example
    int Sample::MeasureDispT(ProcUnit *ptrProcUnit, int subNo, TextWindow *ptrTextWindow)
    {

        // M_XY   position;         Measured data

        // get data and display

        int judge = position.JudgeX(ptrSetupData->lowerX, ptrSetupData->upperX);
        ptrTextWindow->DrawText(judge, TRUE, ptrProcUnit->GetText("SearchX:", position.GetX(0));

    }