Spread.Sheets Documentation
Picture and Floating Object API Changes

The FloatingObject class has been moved to GC.Spread.Sheets.FloatingObjects.FloatingObject. The Picture class has been moved to GC.Spread.Sheets.FloatingObjects.Picture. Picture is now inherited from the GC.Spread.Sheets.FloatingObjects.FloatingObject namespace.

Several methods have been moved to the Commands namespace as shown in the following list:

The following methods in GC.Spread.Sheets.Worksheet have changed:

V9 V10
addFloatingObject(customFloatingObject) floatingObjects.add(customFloatingObject)
findFloatingObject(name) floatingObjects.get(name)
removeFloatingObject(name) floatingObjects.remove(name)
floatingObject.clear()
getFloatingObjects() floatingObjects.all()
setFloatingObjectZIndex(name,zIndex) floatingObjects.zIndex(name,zIndex)
getFloatingObjectZIndex(name) floatingObjects.zIndex(name,zIndex)

The following items in GC.Spread.Sheets.FloatingObjects.FloatingObject have changed:

V9 V10
position() x()
position() y()
FloatingObjectType typeName
content()
cloneContent()
refreshContent()
getHost()

The CustomFloatingObject class has been deleted and the methods and properties in CustomFloatingObject have been move to the FloatingObject class.

The following methods in GC.Spread.Sheets.Worksheet have changed:

V9 V10

addPicture(name,src,startRow,startColumn,endRow,endColumn,

startRowOffset,startColumnOffset,endRowOffset,endColumnOffset)

pictures.add(name,src,x,y,width,height)
findPicture(name) pictures.get(name)
removePicture(name) pictures.remove(name)
pictures.clear()
getPictures() pictures.all()
setFloatingObjectZIndex(name,zIndex) pictures.zIndex(name,zIndex)
getFloatingObjectZIndex(name) pictures.zIndex(name,zIndex)

 

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.