yScale

Specifies the ratio of the height of an EPS postScript bounding box to the object's screen height.

# Metadata

Platforms: desktop OS: linux Introduced: 1.0 Security:

# Syntax

set the yScale of EPSObject to number

# Examples

set the yScale of last EPS to 2 -- PS image twice the height of screen

set the yScale of EPS "Guido" to 0.25 -- one-fourth the height

# Description

Use the yScale property to control an EPS screen appearance.

The number 1 indicates no scaling--that is, the EPS height is the same as the height specified by the postScript code it contains. Numbers greater than one indicate that the object height is less than the postScript height; the screen object is scaled down. Numbers less than one indicate that the object height is greater than the postScript height, and the screen object is scaled up from the postScript.

In geometric terms, yScale = yExtent/height.

If the object's scaleIndependently property is false, the yScale property is equal to the scale of the object.

This property is supported only on Unix systems with Display PostScript installed.

# Tags

# See

- **property:** scaleIndependently, postScript, scale - **glossary:** EPS, property, object