Skip to main content
Row

HeaderFooterPicture.CropRight Property

Gets or sets the number of pixels that are cut from the right of the picture.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

float CropRight { get; set; }

Property Value

Type Description
Single

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

Remarks

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

For example, the CropRight property is set to 50, the image width 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 right.

See Also