Returns a media url.

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

Syntax

C#
public IHtmlString MediaUrl(
	DataReference<IImageFile> image,
	ResizingOptions resizingOptions
)
Visual Basic
Public Function MediaUrl ( _
	image As DataReference(Of IImageFile), _
	resizingOptions As ResizingOptions _
) As IHtmlString
Visual C++
public:
IHtmlString^ MediaUrl(
	DataReference<IImageFile^>^ image, 
	ResizingOptions^ resizingOptions
)

Parameters

image
Type: Composite.Data..::..DataReference<(Of <(<'IImageFile>)>)>
The image file.
resizingOptions
Type: ResizingOptions
The resizing options.

Return Value

[Missing <returns> documentation for "M:Composite.AspNet.Razor.C1HtmlHelper.MediaUrl(Composite.Data.DataReference{Composite.Data.Types.IImageFile},Composite.Core.WebClient.Media.ResizingOptions)"]

See Also