Click or drag to resize
CMSDialogHelperUpdateUrl Method (Int32, Int32, Int32, Int32, String, MediaSourceEnum, Boolean)
Returns URL updated according specified properties.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
Syntax
C#
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: String
See Also