Difference between revisions of "Tabulation addImage"
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{HelpFiles}} | ||
+ | |||
+ | ==== Tabulation_addImage ==== | ||
+ | |||
+ | Adds an image to the report | ||
+ | |||
+ | '''Syntax''' | ||
+ | |||
+ | Tabulation_addImage(''TabulationImage'') | ||
+ | |||
+ | '''Arguments''' | ||
+ | |||
+ | *[[TabulationImage class|''TabulationImage'']] | ||
+ | |||
+ | |||
+ | |||
=== <span style="color:#DF8621">'''Examples'''</span> === | === <span style="color:#DF8621">'''Examples'''</span> === | ||
<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 11: | 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