_Application.PixelsToPoints Method
Converts a measurement from pixels to points.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function PixelsToPoints ( _
Pixels As Single, _
ByRef fVertical As Object _
) As Single
'Usage
Dim instance As _Application
Dim Pixels As Single
Dim fVertical As Object
Dim returnValue As Single
returnValue = instance.PixelsToPoints(Pixels, _
fVertical)
float PixelsToPoints(
float Pixels,
ref Object fVertical
)
Parameters
- Pixels
Type: System.Single
Required Single. The pixel value to be converted to points.
- fVertical
Type: System.Object%
Optional Object. True to convert vertical pixels; False to convert horizontal pixels.
Return Value
Type: System.Single
Remarks
Returns the converted measurement as a Single.