C# Class Imazen.Crop.CropImage

Inheritance: System.Web.UI.WebControls.CompositeControl, INamingContainer
Afficher le fichier Open project: nathanaeljones/cropimage

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Crop ( string destPath ) : void

Crops the original image and saves it to the specified path. If the specified path doesn't contain a valid image extension, it will be appended

Crop ( string destPath, bool appendCorrectExtension ) : void

Crops the original image and saves it to the specified path.

GetUriStream ( Uri uri ) : Stream

Gets a stream from the given HTTP URI. No redirect support

RenderBeginTag ( System.Web.UI.HtmlTextWriter writer ) : void

We don't render anything for this control, it just ties to other controls.

RenderEndTag ( System.Web.UI.HtmlTextWriter writer ) : void

We don't render anything for this control, it just ties to other controls.

Méthodes protégées

Méthode Description
AddFileReferences ( ) : void

Adds the jQuery, jCrop, webcropimage.js and jCrop CSS references as specified in the matching properties.

CreateChildControls ( ) : void

OnLoad ( EventArgs e ) : void

Method Details

AddFileReferences() protected méthode

Adds the jQuery, jCrop, webcropimage.js and jCrop CSS references as specified in the matching properties.
protected AddFileReferences ( ) : void
Résultat void

CreateChildControls() protected méthode

protected CreateChildControls ( ) : void
Résultat void

Crop() public méthode

Crops the original image and saves it to the specified path. If the specified path doesn't contain a valid image extension, it will be appended
public Crop ( string destPath ) : void
destPath string
Résultat void

Crop() public méthode

Crops the original image and saves it to the specified path.
public Crop ( string destPath, bool appendCorrectExtension ) : void
destPath string
appendCorrectExtension bool If true, the appropriate image extension will be added
Résultat void

GetUriStream() public méthode

Gets a stream from the given HTTP URI. No redirect support
public GetUriStream ( Uri uri ) : Stream
uri System.Uri
Résultat Stream

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Résultat void

RenderBeginTag() public méthode

We don't render anything for this control, it just ties to other controls.
public RenderBeginTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
Résultat void

RenderEndTag() public méthode

We don't render anything for this control, it just ties to other controls.
public RenderEndTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
Résultat void