Difference between revisions of "Ads:getWidth"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
Line 7: Line 7:
 
<source lang="lua">
 
<source lang="lua">
 
(number) = Ads:getWidth()
 
(number) = Ads:getWidth()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Revision as of 17:36, 12 July 2023

Available since: Gideros 2014.01
Class: Ads

Description

Gets width of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling. <source lang="lua"> (number) = Ads:getWidth() </syntaxhighlight>

Return values

Returns (number) width of the banner ad