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 on a bitmap
Sizing Handles


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 Desktop Apps in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see Creating Resource Files for Desktop Apps. For information on globalization and localization of resources in managed apps, see Globalizing and Localizing .NET Framework Applications.



See Also

Accelerator Keys
Editing Graphical Resources
Image Editor for Icons