Click or drag to resize

PresentationDocumentSetThumbnail Method (String, Stream)

Sets the image used to help end-users identify the presentation document.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1041 (21.3.35.1041)
Syntax
public PictureContent SetThumbnail(
	string contentType,
	Stream stream
)

Parameters

contentType
Type: SystemString
Content-type of the image.
stream
Type: System.IOStream
The image stream.

Return Value

Type: PictureContent
The image used to help end-users identify the presentation document.
Exceptions
ExceptionCondition
ArgumentExceptioncontentType is either Empty or .
See Also