Please note that setDefaultCellAlignmentType method for the table object is not available in the latest fix for java, although it is documented (the fix is the one from this thread : Image and text arrangement).
We have deleted this method in this new hotfix as this method is redundant. You can use the method Cell.getDefaultTextInfo().setAlignmentType() to the same method. We will correct the document in the next release.
Thank you for your advice.
If I have a table with 2000 cells and I want to have centered text in every cell, I have to write the command 2000 times now, at cell level, instead of one time, at table level.
Please correct me if I’m wrong,
We have also provided methods: Table/Row.getDefaultTextInfo().setAlignmentType() in our product. You can use them to control the Text in Table. So in your post situation, you can call the method Table.getDefaultTextInfo().setAlignmentType() once to get your desired effect.
<span style=“font-size: 10.5pt; font-family: “Times New Roman”;” lang=“EN-US”>Thank you for using