_Global.PixelsToPoints Method

Converts a measurement from pixels to points.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function PixelsToPoints ( _
    Pixels As Single, _
    ByRef fVertical As Object _
) As Single
'Usage
Dim instance As _Global
Dim Pixels As Single
Dim fVertical As Object
Dim returnValue As Single

returnValue = instance.PixelsToPoints(Pixels, _
    fVertical)
float PixelsToPoints(
    float Pixels,
    ref Object fVertical
)

Parameters

  • Pixels
    Type: System.Single
    Required Single. The pixel value to be converted to points.
  • fVertical
    Type: System.Object%
    Optional Object. True to convert vertical pixels; False to convert horizontal pixels.

Return Value

Type: System.Single

Remarks

This method returns the converted measurement as a Single.

See Also

Reference

_Global Interface

_Global Members

Microsoft.Office.Interop.Word Namespace