HyperWorks Desktop

*HeaderAlignment()

Specifies the alignment of the header text in the plot window.

*HeaderAlignment()

Specifies the alignment of the header text in the plot window.

Previous topic Next topic No expanding text in this topic  

*HeaderAlignment()

Specifies the alignment of the header text in the plot window.

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

Syntax

*HeaderAlignment(alignment)

Argument

Name

Description

 

alignment

Specifies the justification of the header text:

0 – Aligns the header text along the left side of the plot window.

1 – Aligns the header text along the right side of the plot window.

2 – Centers the header text along the plot window.

Example

To align the header text along the left side of the plot window:

 

*BeginPlot()

   *PlotType(0)

   *BeginPlotHeader(On)

       *PrimaryFont("Arial", 0, 0, 14)

       *SecondaryFont("Arial", 0, 0, 10)

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

       *Color(0)

       *Text("XY Header")

       *HeaderAlignment(0)

   *EndPlotHeader()

   *BeginPlotFooter(On)

       *PrimaryFont("Arial", 0, 0, 10)

       *SecondaryFont("Arial", 0, 0, 10)

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

       *Color(0)

       *Text("XY Footer")

       *FooterAlignment(0)

   *EndPlotFooter()

   *UniformAspectRatio(0)

 

 • • •

*EndPlot()

Application

HyperGraph and HyperGraph 3D.

Context

*BeginPage()

*BeginPlot()

*BeginWindow()

Comments

This statement can be used in the XY HyperGraph, Bar Chart, and Complex HyperGraph modules.

See Also

*FooterAlignment()

List of Session Statements