Difference between revisions of "Tabulation addImage"
(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, | + | 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: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