HyperWorks Desktop

*BeginRegion()

Indicates the beginning of a header or footer region.

*BeginRegion()

Indicates the beginning of a header or footer region.

Previous topic Next topic No expanding text in this topic  

*BeginRegion()

Indicates the beginning of a header or footer region.

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

Syntax

*BeginRegion(xmin, ymin, xmax, ymax)

Arguments

Name

Description

 

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.

 

 

header_footer_region

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()

Application

MotionView, HyperView, HyperGraph, TextView, and MediaView.

Context

*BeginFooter()

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.

See also

 

*Alignment()

*BorderWidth()

*Image()

*Text()

List of Preference Statements