ContentInnerMediaViewOnGetThumbsItemUrl Delegate |
Delegate for the event fired when URL for thumbnails image is required.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax 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:
IconParametersSee Also