M micro Well-Known Member Licensed User Longtime User Jun 3, 2019 #1 Hi to all How I can set the cell Width? The PoiCellStyle has only the property Height Thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 3, 2019 #2 Cells do not have a width of their own. B4X: Sheet.SetColumnWidth(0, 1000) 'set the width of the first column Upvote 0
Cells do not have a width of their own. B4X: Sheet.SetColumnWidth(0, 1000) 'set the width of the first column
Daestrum Expert Licensed User Longtime User Jun 3, 2019 #3 As a side note, from the Javadoc, the width value is in units of 1/256th's of a character width, ie 256 = 1 character wide (unless the library has changed that ) Upvote 0
As a side note, from the Javadoc, the width value is in units of 1/256th's of a character width, ie 256 = 1 character wide (unless the library has changed that )
M micro Well-Known Member Licensed User Longtime User Jun 3, 2019 #4 Erel said: Cells do not have a width of their own. B4X: Sheet.SetColumnWidth(0, 1000) 'set the width of the first column Click to expand... Daestrum said: As a side note, from the Javadoc, the width value is in units of 1/256th's of a character width, ie 256 = 1 character wide Click to expand... Thanks Upvote 0
Erel said: Cells do not have a width of their own. B4X: Sheet.SetColumnWidth(0, 1000) 'set the width of the first column Click to expand... Daestrum said: As a side note, from the Javadoc, the width value is in units of 1/256th's of a character width, ie 256 = 1 character wide Click to expand... Thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 3, 2019 #5 Daestrum said: As a side note, from the Javadoc, the width value is in units of 1/256th's of a character width, ie 256 = 1 character wide Click to expand... It should appear in the built-in help: https://www.b4x.com/b4j/help/jpoi.html#poisheet_setcolumnwidth Upvote 0
Daestrum said: As a side note, from the Javadoc, the width value is in units of 1/256th's of a character width, ie 256 = 1 character wide Click to expand... It should appear in the built-in help: https://www.b4x.com/b4j/help/jpoi.html#poisheet_setcolumnwidth