Image resource type
The Image resource 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.
JSON representation
{
"width": 100,
"height": 200
}
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.
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應