Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 1.64 KB

File metadata and controls

68 lines (50 loc) · 1.64 KB
author spgraph-docs-team
description Groups image-related properties into a single structure.
ms.date 09/10/2017
title Image
ms.localizationpriority medium
doc_type resourcePageType
ms.subservice onedrive

Image resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Groups image-related properties into a single structure. If a DriveItem has a non-null image facet, the item represents a bitmap image.

Note: If the service is unable to determine the width and height of the image, the Image resource may be empty.

Properties

Property Type Description
height Int32 Optional. Height of the image, in pixels. Read-only.
width Int32 Optional. Width of the image, in pixels. Read-only.

Remarks

In OneDrive for Business, this resource is returned on items that are expected to be images based on file extension.

For more information about the facets on a DriveItem, see DriveItem.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "height": 1024,
  "width": 768
}
{
  "width": 100,
  "height": 200
}