PercentageToLogical Method

Converts coordinates in percentage of screen space available to postscript points or logical units. This is useful if the user wishes to position a picture (whose window location is measured in screen percentages) next to a shape (whose position is measured in postscript points or logical units).

Syntax

object.PercentageToLogical plfTop, plfLeft, [plfHeight], [plfWidth]

Properties

The PercentageToLogical method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

plfTop

Double. Specifies the top screen percentage coordinate and returns the converted coordinate.

plfLeft

Double. Specifies the left screen percentage coordinate and returns the converted coordinate.

plfHeight

Double. (Optional) Specifies the height of the page in screen percentage and returns the height in postscript point or logical unit coordinates.

plfWidth

Double. (Optional) Specifies the width of the page in screen percentage and returns the width in postscript point or logical unit coordinates.

 

Example

Applies To