Click or drag to resize

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

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,
	string link,
	ImgFlags flags
)

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).
link
Type: SystemString
A URL link to which to navigate upon a click.
flags
Type: NetQuarryImgFlags
Option flags regarding tag generation.

Return Value

Type: String
The HTML IMG tag string.
See Also