Skip to main content
Row

HeaderFooterPicture.CropTop Property

Gets or sets the number of points that are cut from the top of the picture.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

float CropTop { get; set; }

Property Value

Type Description
Single

A Single value that is the number of points to be cut.

Remarks

The CropTop property value specifies the relative, not absolute, size of the cropped part.

For example, the CropTop property is set to 50, the image height is 200 pixels (the 1:4 ratio). If the image scales up to 400 pixels, the original ratio of 1:4 will persist and the resulting image will be cropped by 100 pixels from the top.

See Also