# KpiLayout Class

Namespace: [Qlik.Sense.Client.Visualizations](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.htm)  
Assembly: Qlik.Sense.Client.dll

## Inheritance

* System.Object
  * [AbstractStructure](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.htm)
    * [GenericObjectLayout](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObjectLayout.htm)
      * [VisualizationBaseLayout](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.VisualizationBaseLayout.htm)
        * KpiLayout

## Syntax

```
public class KpiLayout : VisualizationBaseLayout, IDisposable, IKpiLayout, IVisualizationBaseLayout, IGenericObjectLayout, IAbstractStructure
```

## Constructors

| Name | Description |
| --- | --- |
| [KpiLayout()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.KpiLayout.-ctor.htm#Qlik_Sense_Client_Visualizations_KpiLayout__ctor) | Creates an instance of the KpiLayout class |

## Properties

| Name | Description |
| --- | --- |
| [Color](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.KpiLayout.Color.htm#Qlik_Sense_Client_Visualizations_KpiLayout_Color) | JSON property name: color |
| [FontSize](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.KpiLayout.FontSize.htm#Qlik_Sense_Client_Visualizations_KpiLayout_FontSize) | Changes the font size of the main value. [S : small, M : medium, L : large]<br><br>JSON property name: fontSize |
| [HyperCube](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.KpiLayout.HyperCube.htm#Qlik_Sense_Client_Visualizations_KpiLayout_HyperCube) | JSON property name: qHyperCube |
| [OpenUrlInNewTab](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.KpiLayout.OpenUrlInNewTab.htm#Qlik_Sense_Client_Visualizations_KpiLayout_OpenUrlInNewTab) | Boolean to set if the KPI will open in another tab when clicked (if false it will only redirect from the current page)<br><br>JSON property name: openUrlInNewTab |
| [SheetLink](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.KpiLayout.SheetLink.htm#Qlik_Sense_Client_Visualizations_KpiLayout_SheetLink) | The id (as a string) of the sheet to link to<br><br>JSON property name: sheetLink |
| [ShowMeasureTitle](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.KpiLayout.ShowMeasureTitle.htm#Qlik_Sense_Client_Visualizations_KpiLayout_ShowMeasureTitle) | Boolean to set if the main title (from the first measure) should be shown<br><br>JSON property name: showMeasureTitle |
| [TextAlign](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.KpiLayout.TextAlign.htm#Qlik_Sense_Client_Visualizations_KpiLayout_TextAlign) | Aligns the text in the KPI object. [left, center, right]<br><br>JSON property name: textAlign |
| [UseLink](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.KpiLayout.UseLink.htm#Qlik_Sense_Client_Visualizations_KpiLayout_UseLink) | Boolean to set if the KPI will link to another sheet when clicked<br><br>JSON property name: useLink |