{{< psd/tize >}}
## SmartObjectResource.Comp property

Gets or sets the comp value of the smart object layer data in the PSD file. [Layer comps in Smart Objects](https://helpx.adobe.com/photoshop/using/layer-comps.html)

```csharp
public int Comp { get; set; }
```

### Property Value

The comp value, is -1 if none.

### See Also

* class [SmartObjectResource](../)
* namespace [Aspose.PSD.FileFormats.Psd.Layers.LayerResources](../../../aspose.psd.fileformats.psd.layers.layerresources/)
* assembly [Aspose.PSD](../../../)


