Example #1
0
 virtual public void Close(bool closeStream = true)
 {
     if (_handle > 0)
     {
         Check(ISYS11df.IGR_Close_File(_handle, ref ecb));
         _handle = 0;
     }
     if (closeStream && _streamHandle != IntPtr.Zero)
     {
         IGRStream.DestroyStreamPtr(_streamHandle);
         _streamHandle = IntPtr.Zero;
     }
 }
Example #2
0
 public void Close()
 {
     if (_handle > 0)
     {
         Check(ISYS11df.IGR_Close_Canvas(_handle, ref ecb));
         _handle = 0;
     }
     if (_streamHandle != IntPtr.Zero)
     {
         IGRStream.DestroyStreamPtr(_streamHandle);
         _streamHandle = IntPtr.Zero;
     }
 }