Convert Length to Points (ASP.NET)
In This Article
Converts the selected style literal specifying an element length in pixels (e.g. “134px”) to the equivalent value in points (e.g. “100pt”).
#Availability
Available from the context menu or via shortcuts:
- when a length value in pixels 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 Pixels (ASP.NET).
#Examples
<img style="width:502px" src="D:\MyImage.jpg" />
Result:
<img style="width:376pt" src="D:\MyImage.jpg" />