XlSourceRectangle Struct
Specifies the portion of the picture to display in a worksheet.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v22.2.Core.dll
NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design
Declaration
Related API Members
The following members return XlSourceRectangle objects:
Remarks
To crop a picture inserted into the document, assign the XlSourceRectangle class instance to the IXlPicture.SourceRectangle property. Each edge of the source rectangle is defined by a percentage offset from the corresponding edge of the picture’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset.