Share via


Selecting an Area of an Image (Image Editor for Icons)

 

The latest version of this topic can be found at Selecting an Area of an Image (Image Editor for Icons).

You can use selection tools to define an area of an image that you want to cut, copy, clear, resize, invert, or move. With the Rectangle Selection tool you can define and select a rectangular region of the image. With the Irregular Selection tool you can draw a freehand outline of the area you want to select for the cut, copy, or other operation.

Note

See the Rectangle Selection and Irregular Selection tools pictured in Image Editor toolbar or view the Tool tips associated with each button on the Image Editor toolbar.

You can also create a custom brush from a selection. For more information, see Creating a Custom Brush.

To select an area of an image

  1. On the Image Editor toolbar (or from the Image menu, Tools command), click the selection tool you want.

  2. Move the insertion point to one corner of the image area that you want to select. Cross hairs appear when the insertion point is over the image.

  3. Drag the insertion point to the opposite corner of the area you want to select. A rectangle shows which pixels will be selected. All pixels within the rectangle, including those under the rectangle, are included in the selection.

  4. Release the mouse button. The selection border encloses the selected area.

To select an entire image

  1. Click the image outside of the current selection. The selection border changes focus and encompasses the whole image once again.

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

Accelerator Keys
Editing Graphical Resources
Image Editor for Icons