Partager via


Resizing an Image (Image Editor for Icons)

The behavior of the Image editor while resizing an image depends on whether you've selected the entire image or just part of it.

When the selection includes only part of the image, the Image editor shrinks the selection by deleting rows or columns of pixels and filling the vacated regions with the current background color, or it stretches the selection by duplicating rows or columns of pixels.

When the selection includes the entire image, the Image editor either shrinks and stretches the image, or crops and extends it.

There are two mechanisms for resizing an image: the sizing handles and the Properties window. You can drag the sizing handles to change the size of all or part of an image. Sizing handles that you can drag are solid. You cannot drag handles that are hollow. You can use the Properties window to resize the entire image only, not a selected part.

Sizing Handles

Sizing handles on a bitmap

Note

If you have the Tile Grid option selected in the Grid Settings dialog box, then resizing snaps to the next tile grid line. If only the Pixel Grid option is selected (the default setting), resizing snaps to the next available pixel.

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 (Image Editor for Icons)

Editing Graphical Resources (Image Editor for Icons)

Image Editor for Icons