# maximumBannerSizePortrait

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Returns the [banner size](https://aatkit.gitbook.io/aatkit-cordova-integration/other/reference/other/banner-sizes) string with maximum width that will fit on a given device in portrait screen orientation.

### Syntax <a href="#markdown-header-syntax" id="markdown-header-syntax"></a>

```javascript
maximumBannerSizePortrait(callback)
```

callback **(REQUIRED)**

*Callback\<String>.* Used to provide the function call result to JavaScript.

Parameters:

* String- [Banner size](https://aatkit.gitbook.io/aatkit-cordova-integration/other/reference/other/banner-sizes) best fitting current device.

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

```javascript
AATKitCordova.maximumBannerSizePortrait((result) => {
                console.log("maximumBannerSizePortrait " + result);
            });
```
