AIVisionImageAnalysisModelFactory.ImageMetadata(Int32, Int32) Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET