Ads:getWidth: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2014.01<br/> === Description === Gets width of the ad in Gideros logical dimensions, taking into consideration applied automatic scali..."
 
m Text replacement - "<source" to "<syntaxhighlight"
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2014.01<br/>
'''Available since:''' Gideros 2014.01<br/>
'''Class:''' [[Ads]]<br/>
=== 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()
</source>
</syntaxhighlight>
 
=== Return values ===
'''Returns''' (number) width of the banner ad<br/>
'''Returns''' (number) width of the banner ad<br/>
{{Ads}}

Latest revision as of 15: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