GcSpread.Sheets Namespace > Picture type : borderColor Method |
var instance = new GcSpread.Sheets.Picture(name, src, x, y, width, height); var returnValue; // Type: Object returnValue = instance.borderColor(value);
function borderColor( value : string ) : Object;
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");