Insert an image file into the active document (Blend for Visual Studio)

In Blend for Visual Studio 2012, you can drag supported image files from outside Blend, and also use the Project menu to add files to your project. Image files are added to the artboard as Image objects.

To add an image file to a project

  • Do one of the following:

    • On the Project menu, click Add Existing Item. Browse to the location of the image file that you want to add to the current project, and then click Open.

    • Drag the file from a folder in File Explorer or from your desktop into the Projects panel.

    • Copy the image from any source and paste it directly into the project folder in the Project panel.

    The image file appears in the Projects panel. From there, you can insert it into the active object in the open document.

To insert an image file into the active document

  • Do one of the following:

    • In the Projects panel, right-click an image file, and then click Insert. Or, if you want to add the image file as a child object in another object in the document, double-click that object in the Objects and Timeline panel to make it the active object, and then insert the image file. Alternatively, you can double-click or drag the image file instead of using the Insert command.

    • From the Assets panel, under Media category, drag the image onto the artboard.

    • Drag an image file from the Projects panel onto the artboard.

The image is added to the artboard as an Image object with the Source property set to the relative path of the image file in your project.

Tip

To change the image that is displayed in an Image object, you can use the drop-down arrow next to the Source property to select a different image file that exists in your project folder.

See Also

Tasks

Convert an image to a reusable image brush resource (Blend for Visual Studio)