Click or drag to resize
CSSHelperGetMaxWidthHeightExpression Method
Gets the CSS expression to limit the max width of the element.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string GetMaxWidthHeightExpression(
	int width,
	int height,
	int maxSideSize
)

Parameters

width
Type: SystemInt32
Max width
height
Type: SystemInt32
Max height
maxSideSize
Type: SystemInt32
Max side size

Return Value

Type: String
See Also