[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ICrop.ShapeLeft

ShapeLeft Property

ShapeLeft

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

Use this method to retrieve the current left position of the cropping shape.

Declaration
double ShapeLeft { get; set; }
Property ShapeLeft 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.ShapeLeft = 10;
double shapeLeft = crop.ShapeLeft;