[]
Gets or sets a value that describes how rounded the corners are on a rectangular die-cut, in pixels.
This value applies to the rectangular clipping shape used by the background picture. A larger value produces more rounded corners.
int CornerRadius { get; set; }
Property CornerRadius As Integer
IBackgroundPictures backgroundPictures = worksheet.BackgroundPictures;
IBackgroundPicture picture = null;
using (MemoryStream stream = CreateSampleImageStream())
{
picture = backgroundPictures.AddPicture(stream, ImageType.PNG, 12, 18, 120, 80);
}
int cornerRadius = picture.CornerRadius;