CropArea Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CropArea() |
Initializes a new instance of the CropArea class. |
CropArea(Double, Double, Double, Double) |
Initializes a new instance of the CropArea class. |
CropArea()
Initializes a new instance of the CropArea class.
public CropArea ();
Public Sub New ()
Applies to
CropArea(Double, Double, Double, Double)
Initializes a new instance of the CropArea class.
public CropArea (double top, double bottom, double left, double right);
new Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.CropArea : double * double * double * double -> Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.CropArea
Public Sub New (top As Double, bottom As Double, left As Double, right As Double)
Parameters
- top
- Double
The top coordinate of the region to be cropped. The coordinate is a fractional value of the original image's height and is measured from the top edge of the image. Specify the coordinate as a value from 0.0 through 1.0.
- bottom
- Double
The bottom coordinate of the region to be cropped. The coordinate is a fractional value of the original image's height and is measured from the top edge of the image. Specify the coordinate as a value from 0.0 through 1.0.
- left
- Double
The left coordinate of the region to be cropped. The coordinate is a fractional value of the original image's width and is measured from the left edge of the image. Specify the coordinate as a value from 0.0 through 1.0.
- right
- Double
The right coordinate of the region to be cropped. The coordinate is a fractional value of the original image's width and is measured from the left edge of the image. Specify the coordinate as a value from 0.0 through 1.0.
Applies to
Azure SDK for .NET