StyleImageWidth
Version: - stringSummary
Returns width of style image.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("StyleImageWidth")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("StyleImageWidth"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("StyleImageWidth");
}
Outputting the template tag
<!--@StyleImageWidth-->
Check if string has a value
<!--@If Defined(@StyleImageWidth)-->
Let's output this tag here: <strong><!--@StyleImageWidth--></strong>
<!--@EndIf(@StyleImageWidth)-->