Difference between revisions of "Iad.Banner:setAlignment"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 7: Line 7:
 
Sets the alignment of the banner as the top or bottom.<br />
 
Sets the alignment of the banner as the top or bottom.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  iad.Banner:setAlignment(alignment)
 
  iad.Banner:setAlignment(alignment)
 
</source>
 
</source>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''alignment''': (string) <translate>whether you want ads to show top or bottom of the screen. It can be either iad.Banner.TOP or iad.Banner.BOTTOM.</translate> <br/>
 
'''alignment''': (string) <translate>whether you want ads to show top or bottom of the screen. It can be either iad.Banner.TOP or iad.Banner.BOTTOM.</translate> <br/>

Revision as of 15:28, 13 July 2023


Available since: Gideros 2012.8
Class: iad.Banner

Description


Sets the alignment of the banner as the top or bottom.

<syntaxhighlight lang="lua">

iad.Banner:setAlignment(alignment)

</source>

Parameters

alignment: (string) whether you want ads to show top or bottom of the screen. It can be either iad.Banner.TOP or iad.Banner.BOTTOM.