N2CMS

Classes | Enumerations

Package N2.Web.Drawing

Classes

class  ImageResizeHandler
 Resizes the requested image to the requested size. More...
class  ImageResizer
 Resizes an image. More...
class  ImagesUtility
 Helper methods for images and image paths. More...

Enumerations

enum  ImageResizeMode { Stretch, Fit, Fill }
 

How to fit the image in the max width and height.

More...

Enumeration Type Documentation

How to fit the image in the max width and height.

Enumerator:
Stretch 

Stretch the image to fit.

Fit 

Fit the image inside the box.

Fill 

Crop portions of the image outside the box.

Definition at line 11 of file ImageResizeMode.cs.