The properties of the ImageCropper class are listed below. For a complete list of ImageCropper class members, see the ImageCropper Members topic.

Public Instance Properties

AspectRatio If non-zero the aspect ratio (width divided by height) of the cropping rectangle the user drags over the image will be fixed at the specified value.
CropBorderColor The border color of the cropping rectangle.
CropBorderStyle The border style of the cropping rectangle.
CropBorderWidth The border width of the cropping rectangle.
CroppedHeight If non-zero, the fixed height of the cropped image bitmap.
CroppedImage A bitmap of the cropped image.
CroppedWidth If non-zero, the fixed width of the cropped image bitmap.
CroppingRect The rectangle that represents the state of the cropping region overlayed on the image.
Height Gets or sets the height of the image as shown in the browser.
ImageUrl The absolute or relative URL of the image you want cropped.
Lightness The lightness of the cropped portion of the image.
MaxAspect If true and AspectRatio is non-zero and CroppingRect is equal to Rectangle.Empty then the cropping rectangle will default to the largest possible rectangle that fits into the image while maintaining the given aspect ratio. The rectangle will be centered horizontally or vertically depending on whether the aspect ratio is greater than or less than the aspect ratio of the image.
OnDragJScriptA javascript method to be executed continuously on the client when a user is changing the crop rectangle.
OnDropJScriptA javascript method to be executed once after the user has finished changing the crop rectangle.
PreventResizing If true the user may move the initial cropping rectangle but may not resize it.
Width Gets or sets the width of the image as shown in the browser.

See Also

ImageCropper Class | KrispWare Namespace