Application.PixelsToPoints Method
Publisher Developer Reference |
Converts a measurement from pixels to points (1 pixel = 0.75 points). Returns the converted measurement as a Single.
Syntax
expression.PixelsToPoints(Value)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Value | Required | Single | The pixel value to be converted to points. |
Return Value
Single
Remarks
Use the PointsToPixels method to convert measurements in points to pixels.
Example
This example converts measurements in pixels entered by the user to measurements in points.
Visual Basic for Applications |
---|
|
See Also