> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/aatkit-cordova-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aatkit.gitbook.io/aatkit-cordova-integration/other/reference/functions/maximumbannersizeportrait.md).

# maximumBannerSizePortrait

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

Returns the [banner size](/aatkit-cordova-integration/other/reference/other/banner-sizes.md) 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](/aatkit-cordova-integration/other/reference/other/banner-sizes.md) best fitting current device.

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

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