## Shape.Top property

表示形状与其顶行的垂直偏移量，以像素为单位。

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

### 评论

如果形状在图表中，则表示形状与其上边框的垂直偏移量。

### 例子

```csharp

[C#]
if (shape.Top == 3)
    shape.Top = 1;
```

### 也可以看看

* class [Shape](../../shape)
* 命名空间 [Aspose.Cells.Drawing](../../shape)
* 部件 [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
