Share via


_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)

Usage

Dim Points As Single
Dim fVertical As Object
Dim returnValue As Single
Dim _Application1 As _Application
returnValue = _Application1.PointsToPixels(Points, fVertical)

Syntax

Function PointsToPixels( _
    <InAttribute()> ByVal Points As Single, _
    <InAttribute()> Optional ByRef fVertical As Object _
) As Single
float PointsToPixels(
    [In] float Points, 
    [In, Optional] ref object fVertical
);
public: Single PointsToPixels(
    Single Points, 
    &Object^ fVertical
);
public float PointsToPixels(
    /*in*/float Points, 
    /*in*/System.Object fVertical
);
function PointsToPixels(
     Points : float, 
     fVertical : Object
) : float;

Parameters

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

Remarks

This method returns the converted measurement as a Single.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

_Application Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

_Application Members