InkCanvas.CopySelection Method ()
Copies selected strokes and/or elements to the Clipboard.
Assembly: PresentationFramework (in PresentationFramework.dll)
The InkCanvas can support Clipboard data in Extensible Application Markup Language (XAML) format, Ink Serialized Format (ISF), and text format. Strokes to the Clipboard are both Extensible Application Markup Language (XAML) format, Ink Serialized Format (ISF).
Legacy Code Example
The following example selects two elements on an InkCanvas and copies them to the Clipboard. This example assumes that there is a TextBox called textbox1 and a Button called button1 - and thatboth controls are child elements of the InkCanvas.Code snippet is not found. Confirm that the code snippet name 'InkCanvasSamples' is correct.
Available since 3.0