473,387 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Microsoft.Ink and Journal Files

Hi all,

I am trying to create a C# console application to convert a Microsoft
Journal file to a TIFF image file.

I am using the Microsoft.Ink.DLL and the
Microsoft.Ink.JournalReader.DLL to read in the Journal file (using the
JournalReader's ReadFromStream method) allowing me to then have an XML
representation of the Journal file within an in-memory XmlDocument.

Is there any quick way for me to effectively "deserialize" the Journal
file's XML document into the various classes within the Microsoft.Ink
namespace? (ie. Microsoft.Ink.InkObject's etc.)

If this is possible, is it then possible to "render" the resulting set
of ink/image/stroke objects to (perhaps) a graphic device context
within memory, ideally using some "single-line-of-code" method that
will render the entire "document" at once ?

If I can get this far, I can then easily save the graphic device
"canvas" as an image file, however, I have a horrble feeling that I
may have to manually "decode" the various sections of the Journal
document's XML and manually convert them into the required "ink"
objects, then manually "render" each ink object.
As you can probably tell, I'm brand new to the Microsoft.Ink library
(and the whole notion of "ink", too!) and only started looking at it
yesterday.

By the way, I'm developing this on a "standard" Windows PC (ie. NOT a
TabletPC) using the TabletPC SDK 1.7.

Thanks in advance.

(Sorry for cross-posting, but I thought this question was relevant to
both newsgroups.)
Regards,
Brent.

Jan 5 '07 #1
0 1683

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jeremiah Foster | last post by:
;; Fedora! Slask! .emacs! ;;; uncomment this line to disable loading of "default.el" at startup ;; (setq inhibit-default-init t) ;; turn on font-lock mode (global-font-lock-mode t) ;; this...
12
by: Bob Nelson | last post by:
The November 2003 edition of the ``C/C++ Users Journal'' contains a multi-paged advertising section for Microsoft's Visual C++. NET 2003 product. One section focuses on the compiler as being one...
0
by: jonathan.beckett | last post by:
Hi all, Just announcing the latest version of my blog / diary / journal script. You can get it (and read all about it) at; http://www.pluggedout.com/index.php?pk=dev_blog It's edging closer...
0
by: Apostolos | last post by:
Hello, I am really happy to let you know that the "Internation Journal of Digital Typography" is now accepting submissions. IJDT is a new peer-reviewed e-journal that aims to provide a forum...
0
by: jonathan.beckett | last post by:
Version 1.9.9f of the PluggedOut Blog script is now available for download. PluggeOut Blog is a free, open source blog/diary/journal script, written by a professional software developer to give...
0
by: Sam Flywheel | last post by:
Hello, all: I am pleased to announce that the MySQL Journal is moving forward. During the past two weeks, I've been discussing the journal with MySQL AB, and the plan that's been devised...
4
by: tleeuwenburg | last post by:
To whom it may concern, I have been involved in putting together a new Python journal, called (oh so originally) The Python Journal. This isn't related to a previous project also called The...
0
by: =?Utf-8?B?Umljaw==?= | last post by:
As I researched alternatives to filewatchers, I ran across the change journal. What is the best way to access the Change Journal through managed code? Thank you
0
by: tavares | last post by:
----------------------------------------------------------------------------------------------------------------------------------------- (Apologies for cross-posting) International Journal of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.