[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ICrop.PictureWidth

PictureWidth Property

PictureWidth

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

This value represents the picture width used by the crop settings.

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