> ## 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.

# NSReportLabelLayoutEntity

## Constructors

### NSReportLabelLayoutEntity()

```crmscript theme={null}
NSReportLabelLayoutEntity
```

Initializes a new instance of the NSReportLabelLayoutEntity class.

## Methods

## GetBottomMargin()

```crmscript theme={null}
Integer GetBottomMargin()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Bottom margin in twips.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer bottomMargin = thing.GetBottomMargin();
```

## GetCountColumns()

```crmscript theme={null}
Integer GetCountColumns()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Number of columns.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer countColumns = thing.GetCountColumns();
```

## GetCountRows()

```crmscript theme={null}
Integer GetCountRows()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Number of rows.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer countRows = thing.GetCountRows();
```

## GetDescription()

```crmscript theme={null}
String GetDescription()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Description.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
String description = thing.GetDescription();
```

## GetLeftMargin()

```crmscript theme={null}
Integer GetLeftMargin()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Left margin in twips.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer leftMargin = thing.GetLeftMargin();
```

## GetName()

```crmscript theme={null}
String GetName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Name of the label layout.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
String name = thing.GetName();
```

## GetOrientation()

```crmscript theme={null}
Integer GetOrientation()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Paper orientation 1=portrait, 2=landscape. See \<xref href="CRMScript.NetServer.ReportPaperOrientation" data-throw-if-not-resolved="false">\</xref>.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer orientation = thing.GetOrientation();
```

## GetPaperHeight()

```crmscript theme={null}
Integer GetPaperHeight()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Paper height in twips.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer paperHeight = thing.GetPaperHeight();
```

## GetPaperWidth()

```crmscript theme={null}
Integer GetPaperWidth()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Paper width in twips.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer paperWidth = thing.GetPaperWidth();
```

## GetReportLabelLayoutId()

```crmscript theme={null}
Integer GetReportLabelLayoutId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Primary key.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer reportLabelLayoutId = thing.GetReportLabelLayoutId();
```

## GetRightMargin()

```crmscript theme={null}
Integer GetRightMargin()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Right margin in twips.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer rightMargin = thing.GetRightMargin();
```

## GetTopMargin()

```crmscript theme={null}
Integer GetTopMargin()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Top margin in twips.

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer topMargin = thing.GetTopMargin();
```

## SetBottomMargin(Integer)

```crmscript theme={null}
Void SetBottomMargin(Integer bottomMargin)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer bottomMargin;
thing.SetBottomMargin(bottomMargin);
```

## SetCountColumns(Integer)

```crmscript theme={null}
Void SetCountColumns(Integer countColumns)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer countColumns;
thing.SetCountColumns(countColumns);
```

## SetCountRows(Integer)

```crmscript theme={null}
Void SetCountRows(Integer countRows)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer countRows;
thing.SetCountRows(countRows);
```

## SetDescription(String)

```crmscript theme={null}
Void SetDescription(String description)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
String description;
thing.SetDescription(description);
```

## SetLeftMargin(Integer)

```crmscript theme={null}
Void SetLeftMargin(Integer leftMargin)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer leftMargin;
thing.SetLeftMargin(leftMargin);
```

## SetName(String)

```crmscript theme={null}
Void SetName(String name)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
String name;
thing.SetName(name);
```

## SetOrientation(Integer)

```crmscript theme={null}
Void SetOrientation(Integer orientation)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer orientation;
thing.SetOrientation(orientation);
```

## SetPaperHeight(Integer)

```crmscript theme={null}
Void SetPaperHeight(Integer paperHeight)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer paperHeight;
thing.SetPaperHeight(paperHeight);
```

## SetPaperWidth(Integer)

```crmscript theme={null}
Void SetPaperWidth(Integer paperWidth)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer paperWidth;
thing.SetPaperWidth(paperWidth);
```

## SetReportLabelLayoutId(Integer)

```crmscript theme={null}
Void SetReportLabelLayoutId(Integer reportLabelLayoutId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer reportLabelLayoutId;
thing.SetReportLabelLayoutId(reportLabelLayoutId);
```

## SetRightMargin(Integer)

```crmscript theme={null}
Void SetRightMargin(Integer rightMargin)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer rightMargin;
thing.SetRightMargin(rightMargin);
```

## SetTopMargin(Integer)

```crmscript theme={null}
Void SetTopMargin(Integer topMargin)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSReportLabelLayoutEntity thing;
Integer topMargin;
thing.SetTopMargin(topMargin);
```


## Related topics

- [NSReportAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSReportAgent.md)
- [ReportLabelLayout](/en/api/archive-providers/reference/reportlabellayout.md)
- [Delete Report Label Layout Entity](/en/api/reference/restful/agent/report_agent/delete-report-label-layout-entity.md)
- [Save Report Label Layout Entity](/en/api/reference/restful/agent/report_agent/save-report-label-layout-entity.md)
- [Get Report Label Layout Entity](/en/api/reference/restful/agent/report_agent/get-report-label-layout-entity.md)
- [Create Default Report Label Layout Entity](/en/api/reference/restful/agent/report_agent/create-default-report-label-layout-entity.md)
