*BeginRegion()

Indicates the beginning of a header or footer region.

Syntax

*BeginRegion (xmin, ymin, xmax, ymax)

Application

MotionView, HyperView, HyperGraph, TextView, and MediaView.

Inputs

Xmin
The horizontal starting point of a region, 0 to 1000.
Ymin
The vertical starting point of a region, 0 to 1000.
Xmax
The horizontal ending point of a region, 0 to 1000.
Ymax
The vertical ending point of a region, 0 to 1000.


図 1.

Context

*BeginFooter()

Example

*BeginFooter() 
    *BeginRegion(0, 0, 100, 1000) 
      *Image("Altair_logo.gif") 
      *Text("Your Name")
      *BorderWidth(1,1,1,1)
    *EndRegion() 
    *BeginRegion(100, 0, 900, 500)
      *Alignment(Center)
      *Font("Helvetica",0,0,12)
      *Text("{time()} and {date()}")
    *EndRegion()
*EndFooter()

Comments

Regions provide additional capabilities for formatting headers and footers. Both text and images can be inserted into regions.

Every *BeginRegion() statement requires a closing *EndRegion() statement.