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

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

Parameters

siteName
Type: System.String
Site name
libraryID
Type: System.Int32
Library ID
filePath
Type: System.String
File path within library

Return Value

Type: Boolean
See Also