Click or drag to resize
MediaHelperGetImageStyleAtt Method
Generates the IMG tag according to given parameters.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static string GetImageStyleAtt(
	int width,
	int height,
	string align,
	int border,
	string color,
	int hspace,
	int vspace,
	string style
)

Parameters

width
Type: SystemInt32
Image width
height
Type: SystemInt32
Image height
align
Type: SystemString
Image align
border
Type: SystemInt32
Image border width
color
Type: SystemString
Image border color
hspace
Type: SystemInt32
Image HSpace
vspace
Type: SystemInt32
Image VSpace
style
Type: SystemString
Image style

Return Value

Type: String
See Also