C# Класс Imazen.Crop.CropImage

Наследование: System.Web.UI.WebControls.CompositeControl, INamingContainer
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
AddFileReferences ( ) : void

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

CreateChildControls ( ) : void

OnLoad ( EventArgs e ) : void

Описание методов

AddFileReferences() защищенный Метод

Adds the jQuery, jCrop, webcropimage.js and jCrop CSS references as specified in the matching properties.
protected AddFileReferences ( ) : void
Результат void

CreateChildControls() защищенный Метод

protected CreateChildControls ( ) : void
Результат void

Crop() публичный Метод

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
Результат void

Crop() публичный Метод

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
Результат void

GetUriStream() публичный Метод

Gets a stream from the given HTTP URI. No redirect support
public GetUriStream ( Uri uri ) : Stream
uri System.Uri
Результат Stream

OnLoad() защищенный Метод

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Результат void

RenderBeginTag() публичный Метод

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
Результат void

RenderEndTag() публичный Метод

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
Результат void