Difference between revisions of "Tabulation getPdfMargin"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{Function_Template|Name=Tabulation_getPdfMargin|ReturnType=Number |Parameters= |Name=<nowiki>SetMarginType</nowiki>|ConstantType=Number|EnumType=PDFMARGIN }} {{HelpFiles}} ...")
 
 
Line 1: Line 1:
 
{{Function_Template|Name=Tabulation_getPdfMargin|ReturnType=Number
 
{{Function_Template|Name=Tabulation_getPdfMargin|ReturnType=Number
 
|Parameters=
 
|Parameters=
|Name=<nowiki>SetMarginType</nowiki>|ConstantType=Number|EnumType=PDFMARGIN
+
|Name=SetMarginType|ConstantType=Number|EnumType=PDFMARGIN
 
}}
 
}}
 +
 
  {{HelpFiles}}
 
  {{HelpFiles}}
  
==== Tabulation_getPdfMargin====
+
==== Tabulation_getPdfMargin ====
  
 
Gets a given margin in the Pdf report
 
Gets a given margin in the Pdf report
Line 27: Line 28:
 
'''Return value'''
 
'''Return value'''
  
''bool''
+
''number'' marginValue
  
 
<br/>{{note}} ''This function should be paired with function [http://wiki.catglobe.com/index.php/Tabulation_setShowResultAsPdf Tabulation_setShowResultAsPdf].''
 
<br/>{{note}} ''This function should be paired with function [http://wiki.catglobe.com/index.php/Tabulation_setShowResultAsPdf Tabulation_setShowResultAsPdf].''
[[category:Diagram/report generating CGScript functions]]
 
  
 
'''Availability'''
 
'''Availability'''
  
 
Version 6.0
 
Version 6.0

Latest revision as of 11:14, 24 June 2016

SetMarginType


Please write a description and submit to code to autogen it next time

Syntax

SetMarginType(array emails);

Arguments

emails: array. Array of emails.

There are 2 ways of using array emails:

The first way: Each email is an EmailBlacklist object

The second way: Each email is an array with pair of email and comment {email, comment}

Return type

Number. Number of emails added to Blacklist


Tabulation_getPdfMargin

Gets a given margin in the Pdf report

Syntax

Tabulation_getPdfMargin(marginType)

Arguments

  • marginType: A enumeration for the margin to be set. Choose between the following:

Diagram_PdfHeader_Margin_Top

Diagram_PdfHeader_Margin_Bottom

Diagram_PdfFooter_Margin_Top

Diagram_PdfFooter_Margin_Bottom

Return value

number marginValue


Note Note: This function should be paired with function Tabulation_setShowResultAsPdf.

Availability

Version 6.0