作者:.NET开发
项目:System.Windows.Inpu
// Get the TabletDevice objects
TabletDeviceCollection myTabletDeviceCollection = Tablet.TabletDevices;
// Display the types of TabletDevices
foreach (TabletDevice td in myTabletDeviceCollection)
{
Console.WriteLine(td.Type);
}