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

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax
C#
public static string UpdateUrl(
	int width,
	int height,
	int origWidth,
	int origHeight,
	string url,
	MediaSourceEnum sourceType
)

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

Return Value

Type: String
See Also