Click or drag to resize
ContentMediaViewGetItemUrl Method
Returns URL of the media item according site settings.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
public string GetItemUrl(
	string argument,
	int height,
	int width,
	int maxSideSize
)

Parameters

argument
Type: SystemString
Argument containing information on current media item
height
Type: SystemInt32
Item height in px
width
Type: SystemInt32
Item width in px
maxSideSize
Type: SystemInt32
Maximum dimension for images displayed for thumbnails view

Return Value

Type: String
See Also