The requested page is not available for the requested platform. You are viewing the content for Default platform.

Convert Length to Pixels (ASP.NET)

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

Examples

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

Result:

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

Screenshot

rsConvertLengthToPixels