_Application.PointsToPixels Method

Converts a measurement from points to pixels.

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

Syntax

'Declaration
Function PointsToPixels ( _
    Points As Single, _
    ByRef fVertical As Object _
) As Single
'Usage
Dim instance As _Application
Dim Points As Single
Dim fVertical As Object
Dim returnValue As Single

returnValue = instance.PointsToPixels(Points, _
    fVertical)
float PointsToPixels(
    float Points,
    ref Object fVertical
)

Parameters

  • Points
    Type: System.Single
    Required Single. The point value to be converted to pixels.
  • fVertical
    Type: System.Object%
    Optional Object. True to return the result as vertical pixels; False to return the result as horizontal pixels.

Return Value

Type: System.Single

Remarks

This method returns the converted measurement as a Single.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace