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