Difference between revisions of "Ads:getWidth"

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

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