HyperWorks Desktop

*SetDefaultPrintMargins()

Specifies the width of the left, right, top, and bottom margins.

*SetDefaultPrintMargins()

Specifies the width of the left, right, top, and bottom margins.

Previous topic Next topic No expanding text in this topic  

*SetDefaultPrintMargins()

Specifies the width of the left, right, top, and bottom margins.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*SetDefaultPrintMargins(Left, Right, Top, Bottom, From Top, From Bottom, inches/millimeters/points)

Arguments

Name

Description

 

Left

The width of the left margin

 

Right

The width of the right margin

 

Top

The width of the top margin.

 

Bottom

The width of the bottom margin

 

From Top

The distance from the top edge of the header.

 

From Bottom

The distance from the bottom edge of the footer.

 

inches/millimeters/points

The units used for length and width.  Specify inches, millimeters, or points.

Example

*BeginDefaults()

 *SetDefaultPageLayout(1)

 *SetDefaultPSFile("YourName.ps")

 *SetDefaultPrinterOrientation(Landscape)

 *SetDefaultPrintRange(Current)

 *SetDefaultPrintMargins(1,1.5,.75,.75,2,2,inches)

*EndDefaults()

Application

MotionView, HyperView, HyperGraph, TextView, and MediaView.

Context

*BeginDefaults()

See also

 

List of Preference Statements