HyperWorks Desktop

*PrimaryFont()

Defines the font type, weight, style, and size for the first line of a header or footer.

*PrimaryFont()

Defines the font type, weight, style, and size for the first line of a header or footer.

Previous topic Next topic No expanding text in this topic  

*PrimaryFont()

Defines the font type, weight, style, and size for the first line of a header or footer.

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

Syntax

*PrimaryFont(Name, Weight, Slant, Size)

Arguments

Name

Description

 

Name

The font type:

Helvetica, Courier,  New Century Schoolbook, or Times

 

Weight

The font weight, 1 or 0:

1 = bold
0 = normal (default)

 

Slant

The font style, 1 or 0:

1 = italic
0 = normal (default)

 

Size

The font point size, 8, 10, 12, 14, 18, or 24

Example

*BeginHeader(On)

   *PrimaryFont("Times", 0, 0, 18)

   *SecondaryFont("Times", 0, 0, 12)

   *TertiaryFont("Times", 0, 0, 10)

*EndHeader()

Application

HyperGraph and MediaView.

Context

*BeginFooter()

*BeginHeader()

Report Definitions

Comments

Defaults for font type, weight, style, and size for the first line of headers and footers are set in the preference file using *SetPrimaryHeaderFont() and *SetPrimaryFooterFont().

See also

 

*BeginHeader()

*SecondaryFont()

List of Session Statements