More actions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{HelpFiles}} | |||
==== Tabulation_addImage ==== | ==== Tabulation_addImage ==== | ||
Line 9: | Line 11: | ||
'''Arguments''' | '''Arguments''' | ||
*''TabulationImage'' | *[[TabulationImage class|''TabulationImage'']] | ||
Line 15: | Line 18: | ||
<source lang="javascript"> | <source lang="javascript"> | ||
Array image2 = Resource_searchByName("voxmeterlogo",Resource_Type_Attachment,0, | 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 24: | 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 08:46, 24 June 2016
Tabulation_addImage
Adds an image to the report
Syntax
Tabulation_addImage(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, tps);
//t.Opacity = 0.5;
t2.Height = 20;
Tabulation_addImage(t2);
Note: This function should be paired with function Tabulation_setShowResultAsPdf.
Availability
Version 6.0