We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to set the textbox properties to "Don't move or size with cells" in Java coding

How can i set the textbox properties to “Don’t move or size with cells” in Java coding. When we right click on the textbox, we’ll get the “size and properties…”. Now in properties tab we have “Don’t move or size with cells”. So how can we set set it using java code.

Hi,


Please use:
/Set the placement type as the textbox will not move and
//resize with cells.
textbox1.setPlacement(PlacementType.FREE_FLOATING);

Check the complete topic on working with controls:
http://docs.aspose.com/display/cellsjava/Working+with+Controls