Freigeben über


Insert an image file into the active document

In Blend for Visual Studio 2012, you can now 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.

    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.

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

    • Drag an image file from a folder in File Explorer or from your desktop 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.

    TippTipp

    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.

Siehe auch

Aufgaben

Convert a 2D image into 3D

Transform an object in simulated 3D space

Weitere Ressourcen

Convert an image to a reusable ImageBrush resource