Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Tabulation setPDFPrintingDirection

From Catglobe Wiki



Tabulation_setPDFPrintingDirection

Set PDF printing direction

Syntax

Tabulation_setPDFPrintingDirection(direction)

Arguments

direction: Is a numeric (non-decimal) expression. The direction must be one of the values specified below

  • 1: Diagram_PdfLayoutDirection_Portrait
  • 2: Diagram_PdfLayoutDirection_Landscape

Return value

empty

Example

array groups = {{1, "Read"}, {2, "Write"}};

number a = createFrequenceDiagram("Single");

number reportUniqueId = Tabulation_saveAsReport("bug bug", 15707010, groups, true);

Tabulation_setPDFPrintingDirection(Diagram_PdfLayoutDirection_Landscape);

Tabulation_setShowResultAsPdf(true);

//Result: The pages of PDF will be shown in Landscape direction

Availability

Version 5.7