Click or drag to resize

TagUtilsTagImg Method (String, String, String, ImgFlags, String, String)

Generates an HTML IMG tag appropriate for use as an image button.

Namespace:  NetQuarry
Assembly:  EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string TagImg(
	string imgPath,
	string tooltip,
	string altText,
	ImgFlags flags,
	string onClick,
	string cssClass
)

Parameters

imgPath
Type: SystemString
The path to the image file.
tooltip
Type: SystemString
The tooltip to use.
altText
Type: SystemString
The alternate text to use (important for screen readers).
flags
Type: NetQuarryImgFlags
Option flags regarding tag generation.
onClick
Type: SystemString
Javascript to execute upon a click.
cssClass
Type: SystemString
CSS class to use.

Return Value

Type: String
The HTML IMG tag string.
See Also