Procedure xml_style_alignment PDF Print E-mail

This procedure is used to determine the alignment.

The horizontal can have the following options:

  • Left
  • Center
  • Right
  • Fill
  • Justify
  • CenterAcrossSelection
  • Distributed

The vertical can have the following options:

  • Bottom
  • Top
  • Center
  • Justify
  • Distributed

To “Shrink to Fit”, enter a 1 for this variable (otherwise, enter a zero.)

To “Wrap Text”, enter a 1 for this variable (otherwise, enter a zero.)

 

Syntax

xml_style_alignment(&Horizontal, &Vertical, &ShrinkToFit, &WrapText)

Required

No

Parameters

Horizontal

Horizontal Alignment

Left

 

Vertical

Vertical Alignment

Bottom

 

ShrinkToFit

Shrink to fit in cell?

0 or 1

 

WrapText

Wrap text in cell?

0 or 1

Example

do xml_style_alignment(‘’, ‘Bottom’, 0, 0)

do xml_style_alignment('CenterAcrossSelection', 'Bottom', 0, 0)

do xml_style_alignment('', '', 0, 1)

 

 
Follow us on Twitter
RocketTheme Joomla Templates