The CropImage type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
BindData |
Bind data
|
|
GetUploadDir |
Gets upload directory
|
|
GetUpScaledCropSize |
Gets upscaled size of a desired crop area.
|
|
GetUpScaledImageCenter |
Finds center of an image based on upscaled crop size.
|
|
GetUpScaledImageCropArea |
Calculates crop area size based on upscaled crop size.
|
|
OnCancel |
Triggers cancel resize events
|
|
OnImageResized |
Triggers image resized event
|
|
OnInit | (Overrides UserControlBaseOnInit(EventArgs).) | |
OnLoad | (Overrides Control..::..OnLoad(EventArgs).) | |
OnPreRender | (Overrides Control..::..OnPreRender(EventArgs).) | |
ParseClientData |
Parses client size data.
|
|
SetClientSizeInfo |
Sets client size information
|
|
SetupProvider |
Sets up FileContentProvider
|
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPagerTemplate |
Gets pager template.
(Defined by ControlExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Fields
Name | Description | |
---|---|---|
_postedFile | ||
btnCancel |
btnCancel control.
|
|
btnCrop |
btnCrop control.
|
|
imgCrop |
imgCrop control.
|
|
imgCropH |
imgCropH control.
|
|
imgCropW |
imgCropW control.
|
|
imgCropX |
imgCropX control.
|
|
imgCropY |
imgCropY control.
|
Properties
Name | Description | |
---|---|---|
AllowSelectOnCrop |
Gets or sets the value indicating if new crop selection is enabled on crop control.
|
|
BackgroundOpacity |
Gets or sets the background opacity for crop control.
|
|
BoxHeight |
Gets or sets the maximum height of cropping area.
|
|
BoxWidth |
Gets or sets the maximum width of cropping area.
|
|
ContentProviderTypeName |
Gets or sets the content provider type name used for uploading files.
|
|
CropImageCancelCaption |
Gets or sets the cancel button caption.
|
|
CropImageSubmitCaption |
Gets or sets the caption for crop image button.
|
|
CropMinSizeHeight |
Gets or sets the minimum height of the cropping area.
|
|
CropMinSizeWidth |
Gets or sets the minimum width of the cropping area.
|
|
DesiredImageHeight |
Gets or sets the height of the image when resized.
|
|
DesiredImageWidth |
Gets or sets the width of the image when resized.
|
|
FileContentProvider |
Gets or sets the file content provider.
|
|
FileInfo |
Gets or sets the file information object.
|
|
HeightOnClient |
Gets or sets the calculated height of the image which will be set on the client.
|
|
ImageAspectRatio |
Gets or sets the image aspect ratio.
|
|
PostedFile |
Gets or sets the posted file received via file upload.
|
|
UseBase64ImageEncoding |
Gets or sets the value indicating if the control will save an image to a temporary directory or will encode it as a base 64 image.
|
|
WidthOnClient |
Gets or sets the calculated width of the image which will be set on the client.
|
Events
Name | Description | |
---|---|---|
ImageResizeCanceled |
Resize canceled events.
|
|
ImageResized |
Image resized event
|