Difference between revisions of "Ads:getWidth"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
m (Text replacement - "<source" to "<syntaxhighlight")
 
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Gets width of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling.
 
Gets width of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Ads:getWidth()
 
(number) = Ads:getWidth()
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 16:54, 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.

(number) = Ads:getWidth()

Return values

Returns (number) width of the banner ad