ScaleCellActionSample Example for Visual C++ 5.0

void ScalecellactionSample(CLEADRasterContainerViewer * pLEADContainerViewer) 
{
  TRY
  {
     pLEADContainerViewer->SetEnableMethodErrors(TRUE);
     if(!pLEADContainerViewer->ScaleAction().GetUse())
        pLEADContainerViewer->ScaleAction().ActivateAction(TRUE, 0);
     // Specify Offset cell's parameters.
     pLEADContainerViewer->ScaleAction().SetScaleFactor(10);

     // Apply Offset on cell 0.
     pLEADContainerViewer->ScaleAction().SetAction(0, CONVIEW_ACTIONLEVEL_CELL);
  }
  CATCH_ALL(e)
  {
      e->ReportError();
  }
  END_CATCH_ALL
}