Compartilhar via


Window.PointsToScreenPixelsX Method

Converts a horizontal measurement from points (document coordinates) to screen pixels (screen coordinates).

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

Syntax

'Declaration
Function PointsToScreenPixelsX ( _
    Points As Integer _
) As Integer
'Usage
Dim instance As Window
Dim Points As Integer
Dim returnValue As Integer

returnValue = instance.PointsToScreenPixelsX(Points)
int PointsToScreenPixelsX(
    int Points
)

Parameters

  • Points
    Type: System.Int32

    Required Integer. The number of points horizontally along the top of the document window, starting from the left.

Return Value

Type: System.Int32

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Excel Namespace