Compartir a través de


DocumentWindow.PointsToScreenPixelsY Method

Converts a vertical measurement from points to pixels. Used to return a vertical 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 PointsToScreenPixelsY ( _
    Points As Single _
) As Integer
'Usage
Dim instance As DocumentWindow
Dim Points As Single
Dim returnValue As Integer

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

Parameters

  • Points
    Type: System.Single
    The vertical 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