Browse by Tags

Tagged Content List
  • Blog Post: Custom Ink Rendering in Silverlight 2

    Drawing ink with the built-in stroke objects works great for handwriting and annotations. In some scenarios, however, you may want something more fancy that takes advantage of Silverlight's rich graphics capabilities. Creating ink strokes with a customized appearance is fairly straight forward with...
  • Blog Post: Erasing Ink in Silverlight 2

    Another frequently asked question around inking in Silverlight is about erasing Ink strokes after they have been collected or loaded. Unlike WPF or the Tablet SDK for COM & Winforms, Silverlight does not come with controls that have built-in eraser modes in the box. However, with a little bit of...
  • Blog Post: Saving Ink to IsolatedStorage with Silverlight 2

    One of the questions I have seen quite a few times in the Silverlight.net forums is how to persists (and de-persists) ink in Silverlight 2. Unlike WPF, Silverlight does not support a binary persistence format (ISF), but you can write some code to save and load ink to and from XAML. To demonstrate how...
  • Blog Post: TabletPC Development Gotchas Part 7: Detecting the input device in Silverlight 2

    When writing an application that supports multiple input devices (mouse, stylus, touch) it is often neccessary to detect which type of device is sending the input events.Silverlight 1.0 offered a DeviceType property on the StylusInfo object that gets reported in every mouse event. In the Silverlight...
  • Blog Post: Silverlight 2 Released - Write On!

    Now that Silverlight 2 is released, I finally got around to updating my blog after a long time of silence. For those of you interested in handwriting and Tablet related technologies, I want to start out with a canonical example of a Silverlight 2 Inking application. There have been a couple of OM changes...
  • Blog Post: Snipping Pictures with Silverlight

    One of my favorite tools on the Tablet PC is the 'Snipping Tool'. I have been using it frequently since the early XP days (back then we shipped it seperately as a Power Toy). Now in Vista, it's part of the main OS and I find myself using it quite often event on my desktop PC. When I was using the...
  • Blog Post: Ink Reflections - in Silverlight

    I have received several question from folks about my earlier post on Ink Reflections in WPF . People were curious how to accomplish the same or a similar effect in Silverlight, in the absence of the VisualBrush object. Clearly, WPF's VisualBrush is the main object that enables scenarios like this...
  • Blog Post: Rendering ink and image to a bitmap using WPF

    To follow-up on my previous blog post and to complete the story about rendering ink onto pictures and saving the results as a bitmap file, I want to show how this is done in WPF. In WPF all rendering uses the pipeline - pictures, videos, ink, text, all gets rendered via WPF's 'Media Integration Layer...
  • Blog Post: TabletPC Development Gotchas Part 5: Rendering ink and image to a bitmap using Winforms

    Annotating pictures with handwriting or drawings is a fun and useful scenario for digital ink. In many cases the application user wants to create a new image file with the ink annotation "burnt" into the picture, so they can use the result of their work in other contexts and with other applications ...
  • Blog Post: Annotating Video with Ink using Silverlight

    Silverlight makes delivering video content in the browser very easy. Silverlight also has ink support built-in. So why not combine these two features to enable some great new scenarios? I have put together a little sample using Silverlight v1.0 to record and play back ink annotations, synchronized...
  • Blog Post: 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 content...
  • Blog Post: 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 few lines of...
  • Blog Post: 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 . ...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: TabletPC Development Gotchas Part1: Handling exceptions in Winforms Ink events

    Over the past few years of developing apps using the TabletPC platform, I came across a couple of gotchas that are not exactly obvious to solve or workaround (at least they were not obvious to me). I figured I should blog about those and the respective solutions or workarounds to save others some head...
  • Blog Post: Fun with Ink & Xaml - Part1: Ink Reflections

    With the InkCanvas element in WPF you can create stunning inking experiences for TabletPC users (mouse users can play along, too!). Several very cool scenarios can be enabled just by writing markup - without any additional code behind. Here is a first example: an ink input field (takes input from...
  • Blog Post: .NET 3.5: Viewport2DVisual3D and Ink

    WPF 3.5 includes an exciting new feature: Viewport2DVisual3D. It makes building interactive 3D experiences very easy and is nicely integrated with the rest of the WPF Platform. I have used this feature to write a new version of the "Ink Postcard" sample that I wrote a few years back for the Windows SDK...
Page 1 of 1 (22 items)