Skip to main content
Row

ShapeText.MarginTop Property

Gets or sets the top margin of a shape text.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

float MarginTop { get; set; }

Property Value

Type Description
Single

A Single value that specifies the top margin in measure units used in the workbook.

Remarks

Use the MarginTop property to specify the distance between the shape text and the shape’s top border. The MarginTop property value depends on the ShapeText.VerticalAnchor property.

See Also