Click or drag to resize
MediaLibraryHelperHasPreview Method
Returns true if file has preview file.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 10.0.0
Syntax
C#
public static bool HasPreview(
	string siteName,
	int libraryID,
	string filePath
)

Parameters

siteName
Type: SystemString
Site name
libraryID
Type: SystemInt32
Library ID
filePath
Type: SystemString
File path within library

Return Value

Type: Boolean
See Also