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

Parameters

value
The border radius of the picture.

Return Value

If no value is set, returns the border radius of the picture; otherwise, returns the picture.
Example
This example uses the borderRadius method.
activeSheet.pictures.add("f2","Event.png",2,2,10,10);
var picture = activeSheet.pictures.get("f2");
picture.pictureStretch(GC.Spread.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.