Udostępnij za pośrednictwem


Editing Selected Parts of an Image

You can perform standard editing operations — cutting, copying, clearing, and moving — on a selection, whether the selection is the entire image or just a part of it. Because the Image editor uses the Windows Clipboard, you can transfer images between the Image editor and other applications for Windows, such as Microsoft® Word for Windows®.

In addition, you can resize the selection, whether it includes the entire image or just a part.

To cut the current selection and move it to the clipboard

  • Click Cut on the Edit menu.

To copy the selection

  1. Position the pointer inside the selection border or anywhere on it except the sizing handles.

  2. Hold down the CTRL key as you drag the selection to a new location. The area of the original selection is unchanged.

  3. To copy the selection into the image at its current location, click outside the selection cursor.

To paste the clipboard contents into an image

  1. From the Edit menu, choose Paste.

    The Clipboard contents, surrounded by the selection border, appear in the upper-left corner of the pane.

  2. Position the pointer within the selection border and drag the image to the desired location on the image.

  3. To anchor the image at its new location, click outside of the selection border.

To delete the current selection without moving it to the clipboard

  • From the Edit menu, choose Delete.

    The original area of the selection is filled with the current background color.

    Note

    You can access the Cut, Copy, Paste, and Delete commands by right clicking in the Resource View window.

To move the selection

  1. Position the pointer inside the selection border or anywhere on it except the sizing handles.

  2. Drag the selection to its new location.

  3. To anchor the selection in the image at its new location, click outside the selection border.

For more information on drawing with a selection, see Creating a Custom Brush.

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

None

See Also

Reference

Accelerator Keys for the Image Editor

Editing Graphical Resources

Image Editor