Namespace: Cartella.Models
Assembly: CartellaDomainModels (in CartellaDomainModels.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
public static string Image(
	this HtmlHelper helper,
	bool isAsset,
	string imageSrc,
	string imgAltText,
	int imageWidth,
	int imageHeight
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Image ( _
	helper As HtmlHelper, _
	isAsset As Boolean, _
	imageSrc As String, _
	imgAltText As String, _
	imageWidth As Integer, _
	imageHeight As Integer _
) As String
Visual C++
[ExtensionAttribute]
public:
static String^ Image(
	HtmlHelper^ helper, 
	bool isAsset, 
	String^ imageSrc, 
	String^ imgAltText, 
	int imageWidth, 
	int imageHeight
)

Parameters

helper
Type: HtmlHelper
isAsset
Type: System..::..Boolean
imageSrc
Type: System..::..String
imgAltText
Type: System..::..String
imageWidth
Type: System..::..Int32
imageHeight
Type: System..::..Int32

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HtmlHelper. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also