boundingBox

Specifies the value of the "%%BoundingBox" comment in an import PostScript.

# Metadata

Platforms: desktop, server, mobile OS: linux, ios, android Introduced: 1.0 Security:

# Syntax

set the boundingBox of EPSObject to left, top, width, height

# Examples

set the boundingBox of EPS 1 to 100,100,500,600

# Description

Use the boundingBox property to control the appearance of an EPS.

The %%BoundingBox comment specifies the height, width, and placement on the page of a PostScript file. Use the boundingBox property to find out these properties of the PostScript code in an EPS, or to set them if the PostScript did not do so.

The four components of the boundingBox property are equal to the EPS xOffset, yOffset, xExtent, and yExtent properties respectively.

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

# Tags

# See