HyperWorks Desktop

*Text()

*Text()

Previous topic Next topic No expanding text in this topic  

*Text()

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

Description

Specifies the content of page headers and page footers

Syntax

*Text("String")

Arguments

Names

Description

 

"String"

A single line of text.  Must be in double quotes.

Example

*BeginDefaults()

  *BeginHeader()

      *BeginRegion(400, 0, 600, 300)

           *Alignment(Center)

           *Font("Times",0,1,12)

          *Text("Project Title")

           *BorderWidth(1,1,1,1)

      *EndRegion()

  *EndHeader()

• • •

Application

MotionView, HyperView, HyperGraph, TextView, and MediaView.

Context

*BeginDefaults()

*BeginHeader()

*BeginRegion()

Comments

Use the *Text() statement for each line of text in a column.  Up to four lines of text can be specified for each column.

To use a quotation mark within a string, place a backslash in front of each inner quotation mark.

Templex statements can also be used in the *Text() statement.  The following list of Templex functions demonstrates common usage.

 

{date()}

Automatically inserts the date.

 

{filename}

Automatically inserts the filename of the current file.

 

{numpages}

Automatically inserts the total number of pages in the current session.

 

{pagenum}

Automatically inserts the current page number.

 

{pathname}

Automatically inserts the pathname for the current file.

 

{time()}

Automatically inserts the current time.

See Also

 

*Alignment()

*BeginHeader()

*BeginFooter()

*BeginRegion()

*BorderWidth()

List of Preference Statements