AlphaCellActionSample Example for Visual C++ 5.0
void AlphaCellActionSample(CLEADRasterContainerViewer * pLEADContainerViewer)
{
TRY
{
pLEADContainerViewer->SetEnableMethodErrors(TRUE);
if(!pLEADContainerViewer->AlphaAction().GetUse())
pLEADContainerViewer->AlphaAction().ActivateAction(TRUE,
0);
//
Specify Window level cell parameters.
pLEADContainerViewer->AlphaAction().SetFactor(100);
//
Apply Window level on subcell 0 of cell 0.
pLEADContainerViewer->AlphaAction().SetAction(0,
0, CONVIEW_ACTIONLEVEL_CELL);
}
CATCH_ALL(e)
{
e->ReportError();
}
END_CATCH_ALL
}