Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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