Condividi tramite


NormalizedRectangle Class

Definition

Defines a region of an image. The region is defined by the coordinates of the top, left corner and bottom, right corner of the region. The coordinates are fractional values of the original image's width and height in the range 0.0 through 1.0.

public class NormalizedRectangle : Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.StructuredValue
type NormalizedRectangle = class
    inherit StructuredValue
Public Class NormalizedRectangle
Inherits StructuredValue
Inheritance

Constructors

NormalizedRectangle()

Initializes a new instance of the NormalizedRectangle class.

NormalizedRectangle(Double, Double, Double, Double, String, String, String, String, String, ImageObject, String, String, String)

Initializes a new instance of the NormalizedRectangle class.

Properties

AlternateName

Gets an alias for the item

(Inherited from Thing)
BingId

Gets an ID that uniquely identifies this item.

(Inherited from Thing)
Bottom

Gets or sets the bottom coordinate

Description

Gets a short description of the item.

(Inherited from Thing)
Id

Gets a String identifier.

(Inherited from Identifiable)
Image

Gets an image of the item.

(Inherited from Thing)
Left

Gets or sets the left coordinate.

Name

Gets the name of the thing represented by this object.

(Inherited from Thing)
ReadLink

Gets the URL that returns this resource.

(Inherited from Response)
Right

Gets or sets the right coordinate

Top

Gets or sets the top coordinate

Url

Gets the URL to get more information about the thing represented by this object.

(Inherited from Thing)
WebSearchUrl

Gets the URL To Bing's search result for this item.

(Inherited from Response)

Methods

Validate()

Validate the object.

Applies to