Поделиться через


DocumentWindow.PointsToScreenPixelsX Method

Converts a horizontal measurement from points to pixels. Used to return a horizontal screen location for a text frame or shape. Returns the converted measurement as a single-precision floating-point number.

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

Syntax

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

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

Parameters

  • Points
    Type: System.Single
    The horizontal measurement (in points) to be converted to pixels.

Return Value

Type: System.Int32

See Also

Reference

DocumentWindow Interface

DocumentWindow Members

Microsoft.Office.Interop.PowerPoint Namespace