LogicalToPercentage Method

Converts coordinates in logical units or postscript points and converts them to percentage of screen space available. 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 logical units or postscript points.).

Syntax

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

Properties

The LogicalToPercentage 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 logical top coordinate and returns the converted screen percentage coordinate.

plfLeft

String. The code to be written to the event in the form of strings.

plfHeight

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

plfWidth

Double. (Optional) Specifies the width of the page in logical units or postscript points and returns the width in screen percentage.

 

Example

Applies To