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.

printTextFont

set the printTextFont to font
The printTextFont property returns or sets the value of the default text font used by the print command. The default value is Geneva.

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

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

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

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


Examples

set the printTextFont to "Times"

Placeholders

font
An expression that evaluates to a text string that is also the name of a font available from the current stack.

For example:

"Geneva"
"Times"
"Monaco"


Related Topics

« printTextAlign | HyperTalk Reference | printTextHeight »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View