Click or drag to resize

ISchemaWithVersionsSetThumbnail Method


Sets a thumbnail image for this schema

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
string SetThumbnail(
	Stream thumbnailImageContent,
	string extension
)

Parameters

thumbnailImageContent
Type: System.IOStream
Stream of thumbnail image content
extension
Type: SystemString
The extension of the thumbnail image file

Return Value

Type: String
The physical file location of the thumbnail set
Exceptions
ExceptionCondition
IOExceptionAn I/O error occurs.
NotSupportedExceptionThe stream does not support seeking, such as if the stream is constructed from a pipe or console output.
ObjectDisposedExceptionMethods were called after the stream was closed.
Remarks
Make sure stream is open and seekable, since it needs to reset the position to 0 and start reading from the beginning.
See Also