Example #1
0
        public void RemovePage(uint index)
        {
            if (!_pageList.Contains(index))
            {
                return;
            }
            var retVal = DirectOutputClass.RemovePage(_devicePtr, index);

            _pageList.Remove(index);
        }
Example #2
0
 public override void Shutdown()
 {
     try
     {
         if (_pageList.Count > 0)
         {
             do
             {
                 DirectOutputClass.RemovePage(_devicePtr, _pageList[0]);
                 _pageList.Remove(_pageList[0]);
             } while (_pageList.Count > 0);
             Closed = true;
         }
     }
     catch (Exception e)
     {
         SetLastException(e);
     }
 }