[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ICrop.ShapeTop

ShapeTop Property

ShapeTop

Gets or sets the location of the top of a shape that is used to crop an image.

Declaration
double ShapeTop { get; set; }
Property ShapeTop As Double
Examples
worksheet.Range["A1:B2"].Value = new object[,] {{"Name", "Value"}, {"Test", 100}};
IShape picture = worksheet.Shapes.AddCameraPicture("=$A$1:$B$2", 20, 20);
ICrop crop = picture.PictureFormat.Crop;
crop.ShapeTop = 10;
double shapeTop = crop.ShapeTop;