TransformationHelperGetSearchImageUrl Method |
Returns URL to given search result item.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
Syntax public string GetSearchImageUrl(
SearchResultItem resultItem,
string noImageUrl,
int maxSideSize
)
Parameters
- resultItem
- Type: CMS.SearchSearchResultItem
Search result item for which to return an URL. - noImageUrl
- Type: SystemString
URL to image which should be displayed if image is not defined - maxSideSize
- Type: SystemInt32
Max. side size
Return Value
Type:
StringSee Also