ImageObject Class

Definition

Defines an image

public class ImageObject : Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.MediaObject
type ImageObject = class
    inherit MediaObject
Public Class ImageObject
Inherits MediaObject
Inheritance

Constructors

ImageObject()

Initializes a new instance of the ImageObject class.

ImageObject(String, String, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, ImageObject, String, String, String, String)

Initializes a new instance of the ImageObject class.

Properties

AccentColor

Gets a three-byte hexadecimal number that represents the color that dominates the image. Use the color as the temporary background in your client until the image is loaded.

AlternateName

Gets an alias for the item

(Inherited from Thing)
BingId

Gets an ID that uniquely identifies this item.

(Inherited from Thing)
ContentSize

Gets size of the media object content (use format "value unit" e.g "1024 B").

(Inherited from MediaObject)
ContentUrl

Gets original URL to retrieve the source (file) for the media object (e.g the source URL for the image).

(Inherited from MediaObject)
Description

Gets a short description of the item.

(Inherited from Thing)
EncodingFormat

Gets encoding format (e.g mp3, mp4, jpeg, etc).

(Inherited from MediaObject)
Height

Gets the height of the media object, in pixels.

(Inherited from MediaObject)
HostPageDisplayUrl

Gets display URL of the page that hosts the media object.

(Inherited from MediaObject)
HostPageUrl

Gets URL of the page that hosts the media object.

(Inherited from MediaObject)
Id

Gets a String identifier.

(Inherited from Identifiable)
Image

Gets an image of the item.

(Inherited from Thing)
ImageId

Gets unique Id for the image

ImageInsightsToken

Gets the token that you use in a subsequent call to the Image Search API to get additional information about the image. For information about using this token, see the insightsToken query parameter.

Name

Gets the name of the thing represented by this object.

(Inherited from Thing)
Provider

Gets the source of the creative work.

(Inherited from CreativeWork)
ReadLink

Gets the URL that returns this resource.

(Inherited from Response)
Text

Gets text content of this creative work

(Inherited from CreativeWork)
Thumbnail

Gets the URL to a thumbnail of the image

ThumbnailUrl

Gets the URL to a thumbnail of the item.

(Inherited from CreativeWork)
Url

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

(Inherited from Thing)
VisualWords

Gets visual representation of the image. Used for getting more sizes

WebSearchUrl

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

(Inherited from Response)
Width

Gets the width of the media object, in pixels.

(Inherited from MediaObject)

Applies to