PointsToScreenPixelsX Method Example
This example converts the width and height of the selected text frame bounding box from points to pixels, and returns the values to myXparm and myYparm.
With ActiveWindow
myXparm = .PointsToScreenPixelsX _
(.Selection.TextRange.BoundWidth)
myYparm = .PointsToScreenPixelsY _
(.Selection.TextRange.BoundHeight)
End With