> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.WindowPosSize

# <a id="SuperOffice_WebApi_Data_WindowPosSize" /> Class WindowPosSize

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for WindowPosSize.
Window and dialog position and size settings

```csharp theme={null}
public class WindowPosSize : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[WindowPosSize](SuperOffice.WebApi.Data.WindowPosSize.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Examples

Get WindowPosSize 123 using the WebApi client:
<pre><code class="lang-csharp">var configuration = new WebApiConfiguration(url);
var agent = new ConfigurationAgent(configuration);
var windowPosSize = agent.GetWindowPosSize( 123 );</code></pre>

## Constructors

### <a id="SuperOffice_WebApi_Data_WindowPosSize__ctor" /> WindowPosSize()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public WindowPosSize()
```

## Properties

### <a id="SuperOffice_WebApi_Data_WindowPosSize_AssociateId" /> AssociateId

Associate id of the Associate/Person owning this window setting

```csharp theme={null}
public virtual int AssociateId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_WindowPosSize_ExtraId" /> ExtraId

Spare ID, not yet in use

```csharp theme={null}
public virtual int ExtraId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_WindowPosSize_ExtraInfo" /> ExtraInfo

Extra information - show state, or whatever is required

```csharp theme={null}
public virtual string ExtraInfo { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_WindowPosSize_Height" /> Height

The height of the widget

```csharp theme={null}
public virtual int Height { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_WindowPosSize_LeftX" /> LeftX

X of origin, left edge of widget

```csharp theme={null}
public virtual int LeftX { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_WindowPosSize_OwnerWindow" /> OwnerWindow

The dialog, panel or whatever that owns this record

```csharp theme={null}
public virtual string OwnerWindow { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_WindowPosSize_PersonId" /> PersonId

Person id of the associate owning this window setting

```csharp theme={null}
public virtual int PersonId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_WindowPosSize_State" /> State

Normal = 0, Maximized = 1, Minimized = 2
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public ShowWindowState? State { get; set; }
```

#### Property Value

[ShowWindowState](SuperOffice.WebApi.Data.ShowWindowState.md)?

#### See Also

[WindowPosSize](SuperOffice.WebApi.Data.WindowPosSize.md).[State\_String](SuperOffice.WebApi.Data.WindowPosSize.md#SuperOffice_WebApi_Data_WindowPosSize_State_String)

### <a id="SuperOffice_WebApi_Data_WindowPosSize_State_String" /> State\_String

Normal = 0, Maximized = 1, Minimized = 2
Raw string enum value.

```csharp theme={null}
[JsonProperty("State")]
public string State_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[WindowPosSize](SuperOffice.WebApi.Data.WindowPosSize.md).[State](SuperOffice.WebApi.Data.WindowPosSize.md#SuperOffice_WebApi_Data_WindowPosSize_State)

### <a id="SuperOffice_WebApi_Data_WindowPosSize_UpperY" /> UpperY

Y of origin, upper edge of widget

```csharp theme={null}
public virtual int UpperY { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_WindowPosSize_Width" /> Width

The width of the widget

```csharp theme={null}
public virtual int Width { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_WindowPosSize_WindowPosSizeId" /> WindowPosSizeId

Primary key

```csharp theme={null}
public virtual int WindowPosSizeId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

## See Also

[ConfigurationAgent](SuperOffice.WebApi.Agents.ConfigurationAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.Configuration SaveWindowPosSizeRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Configuration_SaveWindowPosSizeRequest.md)
- [SuperOffice.WebApi.Data.Configuration SaveWindowPosSizesRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Configuration_SaveWindowPosSizesRequest.md)
- [SuperOffice.WebApi.Agents.IConfigurationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IConfigurationAgent.md)
- [SuperOffice.WebApi.Agents.ConfigurationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ConfigurationAgent.md)
- [SuperOffice.WebApi.Data.Configuration DeleteWindowPosSizeRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Configuration_DeleteWindowPosSizeRequest.md)
- [SuperOffice.WebApi.Data.ShowWindowState](/en/api/reference/webapi/SuperOffice.WebApi.Data.ShowWindowState.md)
