Skip to main content

Convert Length to Points (ASP.NET)

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

#Examples

<img style="width:502px" src="D:\MyImage.jpg" />

Result:

<img style="width:376pt" src="D:\MyImage.jpg" />

#Screenshot

rsConvertLengthToPoints