XLL+ Class Library

COper::GetHeight() Example

//{{XLP_SRC(OperGetHeightExample)
    // NOTE - the FunctionWizard will add and remove mapping code here.
    //    DO NOT EDIT what you see in these blocks of generated code!
IMPLEMENT_XLLFN2(OperGetHeightExample, "RP", "OperGetHeightExampl"
    "e", "Arg1", "Example", "Demonstrates COper::GetHeight()", 
    "Argument 1\000", "\0", 1)

extern "C" __declspec( dllexport )
LPXLOPER OperGetHeightExample(const COper* lpopArg1)
{
    CXlOper xloResult;
//}}XLP_SRC

    xloResult.FromInt(lpopArg1->GetHeight());
    return xloResult.Ret();
}

Uses

COper::GetHeight | CXlOper::FromInt