C# Class ImageProcessor.Web.Processors.Resize

Resizes an image to the given dimensions.
Inheritance: IWebGraphicsProcessor
Mostra file Open project: JimBobSquarePants/ImageProcessor

Public Methods

Method Description
MatchRegexIndex ( string queryString ) : int

The position in the original string where the first character of the captured substring was found.

Resize ( ) : System

Initializes a new instance of the Resize class.

Private Methods

Method Description
ParseRestrictions ( string input ) : List

Returns a List{T} of sizes to restrict resizing to.

ParseSize ( NameValueCollection queryCollection ) : Size

Returns the correct Size for the given query collection.

Method Details

MatchRegexIndex() public method

The position in the original string where the first character of the captured substring was found.
public MatchRegexIndex ( string queryString ) : int
queryString string /// The query string to search. ///
return int

Resize() public method

Initializes a new instance of the Resize class.
public Resize ( ) : System
return System