GetDirection

From Catglobe Wiki
Revision as of 12:34, 26 December 2011 by Cg van (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



getDirection

Gets the direction of the total calculations which is used when creating diagrams.

Syntax

getDirection()

Arguments

none

Return type

number represented as constants

  • Diagram_DirectionType_Vertical
  • Diagram_DirectionType_Horizontal

Examples

number n = getDirection();

if (n == 1) print("Chart Direction is Vertical and can be shown for table diagrams.");

else print("Chart Direction is Horizontal and can be shown for table diagrams.");

//Result: Chart Direction is Vertical and can be shown for table diagrams.

Availability

Version 5.4