ContentMediaViewAddURLDimensionsAndResolve Method |
Returns URL, resolved if not in media selector, with size parameters added.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax public string AddURLDimensionsAndResolve(
string url,
int height,
int width,
int maxSideSize
)
Parameters
- url
- Type: SystemString
Media file URL - height
- Type: SystemInt32
Height parameter that should be added to the URL - width
- Type: SystemInt32
Width parameter that should be added to the URL - maxSideSize
- Type: SystemInt32
Max side size parameter that should be added to the URL
Return Value
Type:
StringSee Also