Ink blogging – using Windows Journal and Silverlight Streaming!

Are you using Windows Journal to jot down your thoughts on your Tablet PC? Did you ever wish to publish your handwritten notes to your blog? Here is one way to do this: The TabletPC SDK provides a Journal Reader API that provides access to the content of the .jnt file. Now you can read all…

12

Fun with Ink & XAML Part4: WPF BitmapEffects applied to Ink

Want to create some fancy looking handwritten text or drawing? Tweaking the standard DrawingAttributes on an ink stroke won’t get you very far – and creating a custom ink renderer is a lot of work. Why not just apply some of the WPF BitmapEffects to your ink. All you need to do is add a…

1

TabletPC Development Gotchas Part4: Semantics of GetSystemMetrics(SM_TABLETPC)

If your application needs to find out at runtime whether or not it runs on a Tablet PC, it is recommended to call GetSystemMetrics() and pass in the value ‘SM_TABLETPC’. But what does it actually mean for a computer to be a Tablet PC? Is that determined by the installed hardware components? Or the software components? All of…

1

Silverlight Ink SDK Sample – hosted through Silverlight Streaming

With the ‘Silverlight Streaming’ service you can now invoke a hosted Silverlight application using an IFrame – without any JavaScript! This allows you to embed Silverlight content on sites that do not allow adding JavaScript, as long as they support IFrames. For details refer to this MSDN topic. To demonstrate this great service, I have taken the Silverlight Ink…

4

Fun with Ink & XAML Part3: Ink Data Binding

Data binding in WPF provides a great way for applications to present and interact with data. Elements can be bound to data from a variety of data sources – for example XML files. I have put together a sample that uses data binding to retrieve a collection of handwritten ink documents from a data store (XML…

3

TabletPC Development Gotchas Part3: Coerce to Factoid (XP vs. Vista)

If you are writing (or maintaining) and application that uses handwriting recognition, please be aware of a subtle behavior difference between XP and Vista when coercing the recognition result to a Factoid (or an input scope or a word list). This may easily be missed in your application testing, but it will potentially result in…

2

East Asian Handwriting Recognition – the WPF way

I have put together a sample that demonstrates the integration of East Asian boxed handwriting recognition with the inking and 3D features in WPF. The key, reusable component I have written here is the ‘SingleLetterRecognizer” user control. It can, btw, also be used for western languages (by setting its ‘Lcid’ property accordingly), but i chose East…

4

TabletPC Development Gotchas Part2: Deploying InkPicture applications to Windows XP desktops

If you are developing applications that use an InkPicture control and you plan to deploy your product to customers running Windows XP desktop OS (i.e. not the Windows XP Tablet PC Edition), please read on: The TabletPC controls (InkPicture and InkEdit) have been designed for being used on Windows XP TabletPC Edition. On other pre-Vista operating…

2

Fun with Ink & Xaml – Part2: Zoom and Scroll

Here is some more fun with ink and Xaml: Scrolling and zooming ink content – in WPF it is as easy as 1,2,3: 1) place an InkCanvas inside a ScrollViewer 2) assign a ScaleTransform to InkCanvas’ LayoutTransform 3) data-bind to ScaleX/ScaleY properties in order to zoom in and out All of this can be done in…

4

Shape Recognition with WPF and InkAnalysis

Did you know that the Windows Vista SDK contains a shape recognition engine? It’s part of the InkAnalysis framework that provides APIs for handwriting recognition, ink parsing and shape recognition. This framework enables some really cool scenarios, especially when combined with WPF. And it’s very easy to program against it from a WPF app due to…

7