Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Properties

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

printMargins

set [the] printMargins to rectangle

The printMargins property returns or sets the value of the default margin spacing used by the print command.

The default value is 0,0,0,0.


Examples

set the printMargins to 10,10,10,10

Placeholders

rectangle
An expression that evaluates to a rectangle, in the form of four integers separated by commas (and, in AppleScript, enclosed in brackets).

Items 1 and 2 of a rectangle specify the left and top coordinates; items 3 and 4 specify the right and bottom coordinates (in pixels). For example:

0,0,200,250
the rect of card window
"30,30," & "240,240"
{ 10, 35, 250, 300 } --AppleScript form


Related Topics

« powerKeys | HyperTalk Reference | printTextAlign »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Properties

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

printMargins

set [the] printMargins to rectangle

The printMargins property returns or sets the value of the default margin spacing used by the print command.

The default value is 0,0,0,0.


Examples

set the printMargins to 10,10,10,10

Placeholders

rectangle
An expression that evaluates to a rectangle, in the form of four integers separated by commas (and, in AppleScript, enclosed in brackets).

Items 1 and 2 of a rectangle specify the left and top coordinates; items 3 and 4 specify the right and bottom coordinates (in pixels). For example:

0,0,200,250
the rect of card window
"30,30," & "240,240"
{ 10, 35, 250, 300 } --AppleScript form


Related Topics

« powerKeys | HyperTalk Reference | printTextAlign »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View