Click or drag to resize
ContentInnerMediaViewOnGetThumbsItemUrl Delegate
Delegate for the event fired when URL for thumbnails image is required.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
public delegate IconParameters OnGetThumbsItemUrl(
	IDataContainer data,
	bool isPreview,
	int height,
	int width,
	int maxSideSize,
	string extension
)

Parameters

data
Type: CMS.BaseIDataContainer
DataRow holding information on currently processed file
isPreview
Type: SystemBoolean
Indicates whether the image is generated as part of preview
height
Type: SystemInt32
Height of preview image
width
Type: SystemInt32
Width of preview image
maxSideSize
Type: SystemInt32
Maximum size of the preview image. If full-size required parameter gets zero value
extension
Type: SystemString
File extension

Return Value

Type: IconParameters
See Also