Difference between revisions of "Tabulation setPdfMargin"

From Catglobe Wiki
Jump to: navigation, search
m (MortenHattingVoltelen moved page Tabulation setPDFMargin to Tabulation setPdfMargin: Wrong name)
Line 1: Line 1:
 +
{{Function_Template|Name=Tabulation_setPdfMargin|ReturnType=Empty
 +
|Parameters=
 +
|Name=<nowiki>SetMarginType</nowiki>|ConstantType=Number|EnumType=PDFMARGIN,
 +
|Name=<nowiki>SetMarginPoints</nowiki>|ConstantType=Number|IsInteger=1
 +
}}
 +
=== <span style="color:#DF8621">'''Examples'''</span> ===
  
 +
<source lang="javascript">
 +
//Set the margins on the header or footer:
 +
//Tabulation_SetPDFMargin(marginType, margin)
 +
// Diagram_PdfHeader_Margin_Top / Diagram_PdfHeader_Margin_Bottom
 +
// Diagram_PdfFooter_Margin_Top / Diagram_PdfFooter_Margin_Bottom
 +
//Needs a DCS
 +
Tabulation_setPdfMargin(Diagram_PdfHeader_Margin_Top , 100);
 +
Tabulation_setPdfMargin(Diagram_PdfFooter_Margin_Bottom, 100);
 +
</source>

Revision as of 16:08, 21 June 2016

SetMarginPoints


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

Syntax

SetMarginPoints();

Return type

Empty

Examples

//Set the margins on the header or footer:
//Tabulation_SetPDFMargin(marginType, margin)
// Diagram_PdfHeader_Margin_Top / Diagram_PdfHeader_Margin_Bottom 
// Diagram_PdfFooter_Margin_Top / Diagram_PdfFooter_Margin_Bottom
//Needs a DCS
Tabulation_setPdfMargin(Diagram_PdfHeader_Margin_Top , 100);
Tabulation_setPdfMargin(Diagram_PdfFooter_Margin_Bottom, 100);