TagUtilsTagImg Method (String, String, String, ImgFlags, 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
)
Public Shared Function TagImg (
imgPath As String,
tooltip As String,
altText As String,
flags As ImgFlags,
onClick As String
) As String
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.
Return Value
Type:
StringThe HTML IMG tag string.
See Also