microsoft.ink

How to clear microsoft ink picture control?

ぃ、小莉子 提交于 2019-12-24 22:20:04
问题 Say I draw something and I have a button to clear , how do i clean/clear/reset the drawing on the control ? 回答1: Well so far as I found out say I have a button to clear I just need to inkPicture1.InkEnabled = false; inkPicture1.Ink = new Microsoft.Ink.Ink(); inkPicture1.InkEnabled = true; inkPicture1.Invalidate(); so that the control gets instantiated with a new ink object. 回答2: MSDN Reference: http://msdn.microsoft.com/en-us/library/ms701123%28v=vs.85%29.aspx Get a refrence to the Ink

Visual Studio 2012 Removes inkPicture Control Every Time I Open My Project

南楼画角 提交于 2019-12-13 06:13:45
问题 The inKpicture control was not in the tool box by default. I had to add it by right clicking inside the tool box, selecting "choose items", browsing to the microsoft.ink.dll, and finally selecting the inkPicture control. Upon adding the inkPicture control to the toolbox, I am able to drag the control onto my form, style it, and test it by running the application from within Visual Studio. I can proceed to build and publish the application without errors. I can then run the application on my

How can I display ink (that is already captured) as an image in an ASP.NET page?

落花浮王杯 提交于 2019-12-12 03:48:42
问题 I have a .NET windows application that collects ink using Microsoft.Ink from Microsoft Tablet PC SDK and stores it in a database. That's working fine. Now I need to display this ink as an image in an ASP.NET application. Note that I don't need to capture any strokes in the web application. Just display the already captured strokes as an image. I don't know how to proceed. I think I can't use Renderer.Draw in a web page. Please help, friends EDIT: Thanks for the help. Here's the sample code if

InkPicture control - How to save both ink and image to an image file

岁酱吖の 提交于 2019-12-11 08:34:12
问题 I've seen articles demonstrating that the ink can be saved with the background image so that the ink is overlayed onto the image and then saved as a single image file. But, unfortunately the articles I've seen don't go into any detail about how it is done. I can save the background image easy enough with the following statement: axInkPicture1.Picture.Save(@"\path\to\file.gif"); ...but there is no ink overlayed onto the background image I don't know of any direct method to save the ink, but