AlphaCellActionSample Example for Visual Basic

   LEADRasterContainerViewer.EnableMethodErrors = True
   If LEADRasterContainerViewer.AlphaAction.Use = False Then
      LEADRasterContainerViewer.AlphaAction.ActivateAction True, 0
   End If
   ' Specify Window level cell parameters. 
   LEADRasterContainerViewer.AlphaAction.Factor = 100
   ' Apply Window level on subcell 0 of cell 0. 
   LEADRasterContainerViewer.AlphaAction.SetAction 0, 0, CONVIEW_ACTIONLEVEL_CELL