Partager via


AIVisionImageAnalysisModelFactory.ImageMetadata(Int32, Int32) Method

Definition

Initializes a new instance of ImageMetadata.

public static Azure.AI.Vision.ImageAnalysis.ImageMetadata ImageMetadata (int height = 0, int width = 0);
static member ImageMetadata : int * int -> Azure.AI.Vision.ImageAnalysis.ImageMetadata
Public Shared Function ImageMetadata (Optional height As Integer = 0, Optional width As Integer = 0) As ImageMetadata

Parameters

height
Int32

The height of the image in pixels.

width
Int32

The width of the image in pixels.

Returns

A new ImageMetadata instance for mocking.

Applies to