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.

printTextSize

set the printTextSize to posInteger
The printTextSize property returns or sets the value of the default text size (or point size) used by the print command. The default value is 10.

When you print a report, HyperCard determines the default text size for a report item as follows:

• If the report item is the text of a card or background field, HyperCard uses the text size of the field.

• If the report item is generated from any other HyperTalk expression, HyperCard uses the value of the printTextSize.

In either case, the user can override the default size by selecting a size in the Item Info dialog box of the report item.


Examples

set the printTextSize to 18

Placeholders

posInteger
An expression that evaluates to a positive integer.

For example:
3
67 mod 13
the number of bg fields
the number of backgrounds
the number of cards div 2
See also: background, bkgnd, button, card, chunk, field, menu, and menuItem

Related Topics

« printTextHeight | HyperTalk Reference | printTextStyle »


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.

printTextSize

set the printTextSize to posInteger
The printTextSize property returns or sets the value of the default text size (or point size) used by the print command. The default value is 10.

When you print a report, HyperCard determines the default text size for a report item as follows:

• If the report item is the text of a card or background field, HyperCard uses the text size of the field.

• If the report item is generated from any other HyperTalk expression, HyperCard uses the value of the printTextSize.

In either case, the user can override the default size by selecting a size in the Item Info dialog box of the report item.


Examples

set the printTextSize to 18

Placeholders

posInteger
An expression that evaluates to a positive integer.

For example:
3
67 mod 13
the number of bg fields
the number of backgrounds
the number of cards div 2
See also: background, bkgnd, button, card, chunk, field, menu, and menuItem

Related Topics

« printTextHeight | HyperTalk Reference | printTextStyle »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View