SpreadJS Documentation
borderRadius Method
The border radius of the picture.
Gets or sets the border radius of the picture.
Syntax
var instance = new GcSpread.Sheets.Picture(name, src, x, y, width, height);
var returnValue; // Type: Object
returnValue = instance.borderRadius(value);
function borderRadius( 
   value : number
) : Object;

Parameters

value
The border radius of the picture.

Return Value

The border radius of the picture.
Example
This example uses the borderRadius method.
activeSheet.addPicture("f2","Event.png",2,2,6,6);
var picture = activeSheet.findPicture("f2");
picture.pictureStretch(GcSpread.Sheets.ImageLayout.Center);
picture.backColor("Blue");
picture.borderWidth(2);
picture.borderColor("Red");
picture.borderStyle("dotted");
picture.borderRadius(5);
See Also

Reference

Picture type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.