Questions tagged [inkcanvas]

An InkCanvas is an element that can be used to receive and display ink input.

An InkCanvas is an element that can be used to receive and display ink input. This is commonly done through the use of a stylus, which interacts with a digitizer to produce ink strokes using a stylus or a mouse. The created strokes are represented as Stroke objects, and can be manipulated either programmatically or based on user input. The InkCanvas enables users to modify or delete an existing Stroke.

The InkCanvas can be bound to a data source. For example, you can bind the Strokes property to: a base-64, encoded string that contains ink data in Ink Serialized format (ISF); or even to the Strokes property of another InkCanvas. You can also bind properties, such as DefaultDrawingAttributes and EditingMode, to other data sources.

source

289 questions
0
votes
0 answers

C# UWP Render InkStrokes in InkCanvas Seperately

enter image description here I have captured points data from bamboo slate,and converted them to Windows.UI.Input.Inking.InkStroke data.Then I put them in a InkPresenter.StrokeContainer rendered like this image above.Strokes sticked to each…
0
votes
1 answer

Highlighter Ink Strokes Not Rendering onto Canvas Control

I'm trying to implement inking functionality using 'InkToolbar' & 'InkCanvas'. I want to be able to access the ink strokes as well, so I have activated custom drying on the InkCanvas as well. Pen ink strokes & pencil ink strokes render properly on…
0
votes
1 answer

C# WPF rendering true monochromatic image from ink canvas

I am loading an image into an ink canvas, the input image is always monochromatic, I am then drawing on that image with a white pen and intending to save it. When the image is loaded some of the pre-existing lines which I know to be 1 pixel thick…
MC73654
  • 33
  • 3
0
votes
3 answers

Select all Childeren in inkcanvas control

how can I select all children beside all strokes " I can select all strokes " and I want to select all children like textboxes and images I used Inkcanvas.Select(strokes) for all strokes how can for children?
kartal
  • 17,436
  • 34
  • 100
  • 145
0
votes
1 answer

How can I add zooming a Grid with inkCanvas and Canvas in UWP app?

I'm writing an inking UWP app in C#/XAML and would like to implement a Microsoft Whiteboard-like zooming inkCanvas and Canvas for shape/text recognition. I have a Grid with an ImageBrush background with the Canvas and InkCanvas, but I'm not sure how…
T M
  • 3
  • 1
0
votes
1 answer

Using InkCanvas, Inktoolbar and maps together

I'm trying to make a program where you can use Bing maps and draw on it. But I have a problem where the "InkCanvas" is above the map so I can't move around the map or use any of the buttons on the map. Here's the MainPage.xaml code:
0
votes
1 answer

InkCanvas does not work as expected in Button Flyout

I paired an InkCanvas control with an InkTookbar control inside a button flyout as follows...
0
votes
1 answer

How can I programmatically access System.Windows.ResourceDictionary?

I am trying to implement Load/Save annotations (complex children, not ink strokes, like an editable text box) of an InkCanvas and when I use XamlReader.Load I get an exception where it is trying to load something into the dictionary that is already…
Kevin
  • 4,567
  • 1
  • 28
  • 36
0
votes
1 answer

WebView DefaultBackgroundColor Transparent does not render to WebViewBrush

I have a transparent background webview that occasionally I need to interact over (for inking). When I switch to the webviewbrush the webviewbrush renders the transparency as black. I am wondering how to get render transparent: C# Code: private void…
0
votes
1 answer

UWP remove size slider from inkToolbarPenButton

I am trying to make an InkToolbar whose ballpens and pencils' size can't be changed. Basically, the actual appearance is this one (the button has a slider with a "size" text) and I want to remove it so it looks like this, without that slider. I've…
jorgmo02
  • 41
  • 7
0
votes
1 answer

UWP-xaml InkCanvas: Is there a way to deny painting on specific zones?

I am trying to make a UI prototype for a bus route design app. The intended behaviour is to let the user paint with a brush over the streets, but not over buildings. The idea is to get something like you see in the image below where the pink line…
jorgmo02
  • 41
  • 7
0
votes
2 answers

Display strokes on an InkCanvas, but do not capture events

I am developing a touch screen application and allow users to add touch-based markup to an overlay over content using an ink canvas. I have reached a point where the view behind the overlay has an element that needs the user should be allowed to…
Ricky Smith
  • 2,379
  • 1
  • 13
  • 29
0
votes
1 answer

Handwriting features just like fiinote handwriting

I m trying to develop windows application in which user will write something on canvas and whatever user write it will show in notepad in same writing style just font size will be different and it will past ok notepad. Just like Fiinote android…
Ankit
  • 1
  • 1
0
votes
1 answer

Create Menu Separator for InkToolbar in Windows UWP

My Question is quite simple: I want to add a Separator to an InkToolbar like in the Windows Ink Sketchpad: I have already tried it with but it doesn't seems to work.
Virt
  • 145
  • 2
  • 11