/////////////////////////////////////////////////////////////////////// private void Test_GetDeviceRotation() { bool rotationSupported = false; WintabAxisArray axisArray = CWintabInfo.GetDeviceRotation(out rotationSupported); TraceMsg("Device rotation:\n"); TraceMsg("\trotation supported for current tablet: " + (rotationSupported ? "YES\n" : "NO\n")); if (rotationSupported) { for (int idx = 0; idx < axisArray.array.Length; idx++) { TraceMsg("\t[" + idx + "] axMin, axMax, axResolution, axUnits: " + axisArray.array[idx].axMin + "," + axisArray.array[idx].axMax + "," + axisArray.array[idx].axResolution + "," + axisArray.array[idx].axUnits + "\n"); } } }