Returns a media url.

Namespace: Composite.AspNet.Razor
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public IHtmlString MediaUrl(
	string keyPath,
	ResizingOptions resizingOptions
)
Visual Basic
Public Function MediaUrl ( _
	keyPath As String, _
	resizingOptions As ResizingOptions _
) As IHtmlString
Visual C++
public:
IHtmlString^ MediaUrl(
	String^ keyPath, 
	ResizingOptions^ resizingOptions
)

Parameters

keyPath
Type: System..::..String
Image's KeyPath field value.
resizingOptions
Type: ResizingOptions
The resizing options.

Return Value

[Missing <returns> documentation for "M:Composite.AspNet.Razor.C1HtmlHelper.MediaUrl(System.String,Composite.Core.WebClient.Media.ResizingOptions)"]

See Also