MapView.GetAutoResizingMask
---------------------------

Queries auto resizing mask.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [MapView](component_MapView.md) | [9.0](newinversion90.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "MapView.GetAutoResizingMask"; MapView ) 

**MBS**( **"MapView.GetAutoResizingMask";** /\* Queries auto resizing mask. \*/  
**$MapView**) /\* The map view reference number.e.g. $$MapView \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| MapView | The map view reference number. | $$MapView |

### Result

Returns number or error.

### Description

Queries auto resizing mask.  
This defines whether web viewer changes its size based on the surrounding window.  
  
| Name | Value | Description |
|---|---|---|
| NotSizable | 0 | The view cannot be resized. |
| MinXMargin | 1 | The left margin between the view and its superview is flexible. |
| WidthSizable | 2 | The view’s width is flexible. |
| MaxXMargin | 4 | The right margin between the view and its superview is flexible. |
| MinYMargin | 8 | The bottom margin between the view and its superview is flexible. |
| HeightSizable | 16 | The view’s height is flexible. |
| MaxYMargin | 32 | The top margin between the view and its superview is flexible. |

  
e.g. the value 18 means the view can resize both horizontally and vertically with the parent view (window).  
### See also

- [AVPlayer.SetAutoResizingMask](AVPlayerSetAutoResizingMask.md)
- [DragDrop.GetAutoResizingMask](DragDropGetAutoResizingMask.md)
- [DragDrop.SetAutoResizingMask](DragDropSetAutoResizingMask.md)
- [MapView.SetAutoResizingMask](MapViewSetAutoResizingMask.md)
- [Preview.GetAutoResizingMask](PreviewGetAutoResizingMask.md)
- [Preview.SetAutoResizingMask](PreviewSetAutoResizingMask.md)
- [TextView.GetAutoResizingMask](TextViewGetAutoResizingMask.md)
- [TextView.SetAutoResizingMask](TextViewSetAutoResizingMask.md)
- [WebView.GetAutoResizingMask](WebViewGetAutoResizingMask.md)
- [WebView.SetAutoResizingMask](WebViewSetAutoResizingMask.md)

### Blog Entries

- [MBS FileMaker Plugin, version 9.0pr9](https://www.mbsplugins.de/archive/2019-01-20/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 16th January 2019 , last changed 16th January 2019

  
[MapView.GetAnnotationSelectedImage](MapViewGetAnnotationSelectedImage.md) - [MapView.GetCenterCoordinateLatitude](MapViewGetCenterCoordinateLatitude.md)

[HTML Version](MapViewGetAutoResizingMask.shtml)