Defines an action that crops a rectangular section from an image. This class cannot be inherited.

The following tables list the members exposed by the Crop type.

Public Methods

  NameDescription
Clone
Creates a copy of the current Crop.
(Overrides .Clone().)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Constructors

  NameDescription
CropNewOverloaded.

Public Properties

  NameDescription
Center
Gets or sets whether to perform centered cropping.

Height
Gets or sets the height of the cropping rectangle.

Width
Gets or sets the width of the cropping rectangle.

X
Gets or sets the x-coordinate of the cropping rectangle.

Y
Gets or sets the y-coordinate of the cropping rectangle.