예제 #1
0
        private unsafe void ReadRegionInternal(int level, long x, long y, long width, long height, void *pointer)
        {
            var handle = EnsureNotDisposed();

            OpenSlideInterop.ReadRegion(handle, pointer, x, y, level, width, height);
            ThrowHelper.CheckAndThrowError(handle);
        }
예제 #2
0
 private unsafe void ReadRegionInternal(int level, long x, long y, long width, long height, void *pointer)
 {
     OpenSlideInterop.ReadRegion(_handle, pointer, x, y, level, width, height);
     ThrowHelper.CheckAndThrowError(_handle);
 }