The requested page is not available for the requested platform. You are viewing the content for Default platform.

Paste as XAML/SVG

The Paste as XAML and Paste as SVG features enable you to incorporate vector graphics in XAML or HTML source code. You can copy the vector graphics from a vector editing tool (for example, Microsoft Visio, Microsoft PowerPoint, or Adobe Illustrator). You can edit and resize inserted vector graphics.

How to Use

Do the following to insert vector graphics inside the XAML/HTML code:

  • Select a drawing or a part of it in a vector editor and copy it:

Clipboard_PasteAsXAML_PPT

  • Switch to Visual Studio, press Ctrl + V to paste the drawing inside XAML or inside an HTML file as SVG:

Clipboard_PasteAsXAML_VS

Example

The screencast below shows how to insert an oval shape from Microsoft PowerPoint inside HTML code.

PasteAsSVG

Note

The Quick Setup feature is enabled initially. You can change the default setting on the Quick Setup options page. Clipboard_PasteAsXAML_VS