# createLayoutOptions

Creates the layout options for a `frame` uicontrol or a figure

## Calling Sequence

                layout_options = createLayoutOptions(constType, varargin)

## Arguments

constType

  String

  The type of the layout options to be created. Available types of options are listed below and their specific properties are detailled on dedicated help page:

  - "none" or "nolayout": No layout options added to the uicontrol. No property is available for this type.

  - "grid": the grid options type.

  - "border": the border options type.

  - "gridbag": A gridbag options type.

varargin

  All `constType` specific properties.

layout_options

  The created layout_options.

## Description

This function creates the layout options structure used to set the `layout_options` attribute of a `frame` uicontrol or a figure. See uicontrol properties for more details.

## See Also

- layout
- uicontrol
- uicontrol_properties

## History

5.5.0
Function `createBorder` introduced.