Convert Length to Pixels (ASP.NET)
In This Article
Converts the selected style literal specifying an element length in points (e.g. “100pt”) to the equivalent value in pixels (e.g. “134px”).
#Availability
Available from the context menu or via shortcuts:
- when a length value in points is selected, provided that the value is contained in a style definition section or in a css file.
#Notes
- This refactoring is the opposite of Convert Length to Points (ASP.NET).
#Examples
<img style="width:376pt" src="D:\MyImage.jpg" />
Result:
<img style="width:502px" src="D:\MyImage.jpg" />