StackCellActionSample Example for Visual Basic

   LEADRasterContainerViewer.EnableMethodErrors = True
  If LEADRasterContainerViewer.StackAction.Use = False Then
     LEADRasterContainerViewer.StackAction.ActivateAction True, 0
  End If
  ' Specify Stack cell's parameters.
  LEADRasterContainerViewer.StackAction.ActiveSubCell = 0
  LEADRasterContainerViewer.StackAction.ScrollValue = 0
  

   ' Apply Offset on cell 0.
  LEADRasterContainerViewer.StackAction.SetAction 0, CONVIEW_ACTIONLEVEL_CELL