CMSDialogHelperUpdateUrl Method (Int32, Int32, Int32, Int32, String, MediaSourceEnum, Boolean) |
Returns URL updated according specified properties.
Namespace: CMS.ExtendedControlsAssembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 8.2.23
Syntax public static string UpdateUrl(
int width,
int height,
int origWidth,
int origHeight,
string url,
MediaSourceEnum sourceType,
bool forceSizeToUrl
)
Parameters
- width
- Type: SystemInt32
Width of the item - height
- Type: SystemInt32
Height of the item - origWidth
- Type: SystemInt32
Original width of the file - origHeight
- Type: SystemInt32
Original height of the file - url
- Type: SystemString
URL to update - sourceType
- Type: CMS.ExtendedControlsMediaSourceEnum
MediaSource type - forceSizeToUrl
- Type: SystemBoolean
Indicates whether the URL update should be forced
Return Value
Type:
StringSee Also