Show / Hide Table of Contents

Method SetThumbnailWithImage

SetThumbnailWithImage(Nullable<Stream>)

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

Declaration
public void SetThumbnailWithImage(Stream? imageBytes)
Parameters
Type Name Description
System.Nullable<Stream> imageBytes

PNG-encoded thumbnail image.

Remarks

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 if a thumbnail already exists on the portal.

See Also
Thumbnail

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.