[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ICrop.PictureHeight

PictureHeight Property

PictureHeight

Gets or sets the height of the image that is to be cropped.

This value represents the source image height currently used by the cropping settings.

Declaration
double PictureHeight { get; set; }
Property PictureHeight 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.PictureHeight = 100;
double pictureHeight = crop.PictureHeight;