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

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.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.ExtendedControlsMediaSourceEnum
MediaSource type

Return Value

Type: String
See Also