Difference between revisions of "Ads:setAlignment"

From GiderosMobile
Line 8: Line 8:
 
  Ads:setAlignment(horizontal,vertical)
 
  Ads:setAlignment(horizontal,vertical)
 
</source>
 
</source>
'''horizontal''': (strong) horizontal alignment ''''''<br/>
+
=== Parameters ===
'''vertical''': (string) vertical alignment ''''''<br/>
+
'''horizontal''': (strong) horizontal alignment <br/>
 +
'''vertical''': (string) vertical alignment <br/>

Revision as of 10:44, 23 August 2018

Available since: Gideros 2014.01

Description

Sets alignment of the ad First value is for the horizontal alignment and can have values as "left", "center", "right" Second value is for the vertical alignment and can have values as "top", "center", "bottom"

 Ads:setAlignment(horizontal,vertical)

Parameters

horizontal: (strong) horizontal alignment
vertical: (string) vertical alignment