Click or drag to resize

PortalItemSetThumbnail Method

Sets the thumbnail for this portal item from the given data stream.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
public override void SetThumbnail(
	Stream imageBytes


Type: System.IOStream
PNG-encoded thumbnail image.

Changes to the thumbnail are visible only locally until this item's properties are updated on the portal.

Note that deleting thumbnails from the portal is not supported. Passing null for imageBytes will result in an InvalidOperationException if a thumbnail already exists on the portal.

See Also