Difference between revisions of "Tabulation addHeaderImage"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{HelpFiles}} ==== Tabulation_addHeaderImage ==== Adds an image to the header '''Syntax''' Tabulation_addHeaderImage(''TabulationImage'') '''Arguments''' *TabulationIm...")
 
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
  
 
<source lang="javascript">
 
<source lang="javascript">
Array image2 = Resource_searchByName("voxmeterlogo",Resource_Type_Attachment,0,NAME_SEARCH_TYPE_ANYWHERE,1,64);
+
Array image2 = Resource_searchByName("voxmeterlogo",Resource_Type_Attachment,0,NAME_SEARCH_TYPE_IDENTICAL,1,64);
 
Attachment img2 = new Attachment(image2[0][1]);
 
Attachment img2 = new Attachment(image2[0][1]);
  
Line 27: Line 27:
  
 
</source>
 
</source>
 +
 +
[[category:Diagram/report generating CGScript functions]]
 +
 +
 +
{{note}} ''This function should be paired with function [http://wiki.catglobe.com/index.php/Tabulation_setShowResultAsPdf Tabulation_setShowResultAsPdf].''
 +
 +
'''Availability'''
 +
 +
Version 6.0

Latest revision as of 09:47, 24 June 2016


Tabulation_addHeaderImage

Adds an image to the header

Syntax

Tabulation_addHeaderImage(TabulationImage)

Arguments


Examples

Array image2 = Resource_searchByName("voxmeterlogo",Resource_Type_Attachment,0,NAME_SEARCH_TYPE_IDENTICAL,1,64);
Attachment img2 = new Attachment(image2[0][1]);

TabulationImage t2 = new TabulationImage(img2, HeFoPaRight);
//t.Opacity = 0.5;
t2.Height = 20;
Tabulation_addHeaderImage(t2);


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

Availability

Version 6.0