M-Files API 23.11.13135.0
GetThumbnailOfTypeAsBytes Method
VaultObjectOperations Object : GetThumbnailOfTypeAsBytes Method
Description
Gets the classic or preview thumbnail for the specified object in PNG format.
Syntax
Visual Basic
Public Function GetThumbnailOfTypeAsBytes( _
   ByVal ObjVer As ObjVer, _
   ByVal FileVer As FileVer, _
   ByVal ThumbnailType As MFThumbnailType, _
   ByVal MaxWidth As Long, _
   ByVal MaxHeight As Long _
) As Byte()
Parameters
ObjVer
FileVer
ThumbnailType
ValueDescription
MFThumbnailTypeClassicClassic square thumbnail, or icon if no thumbnail available.
MFThumbnailTypeClassicNoIconClassic square thumbnail, no icon if no thumbnail.
MFThumbnailTypePreviewPreview thumbnail in aspect ratio.
MaxWidth
MaxHeight
See Also

VaultObjectOperations Object  | VaultObjectOperations Members