CMSDialogHelperUpdateUrl Method (Int32, Int32, Int32, Int32, String, MediaSourceEnum, Boolean) |
Returns URL updated according specified properties.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
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.Base.Web.UIMediaSourceEnum
MediaSource type - forceSizeToUrl
- Type: SystemBoolean
Indicates whether the URL update should be forced
Return Value
Type:
StringSee Also