Changes the width of the columns in the first table in the current range according to the width of the text in the cells, without altering the carriage returns in the cells.
The ReturnCode parameter will be set to "0" if the method is called successfully, or to a value other than "0" if this is not the case.
Syntax | |
CALL_METHOD NameWordClientObject COLS_AUTO_FIT ReturnCode |
|
Parameters |
|
ReturnCode |
NUM_BIN_4 type (output parameter) |
Returns the number of columns in the first table in the current range.
The ReturnCode parameter will be set to "0" if the method is called successfully, or to a value other than "0" if this is not the case.
Syntax | |
CALL_METHOD NameWordClientObject COLS_COUNT NbColumns ReturnCode |
|
Parameters |
|
NbColumns |
NUM_BIN_4 type (output parameter) |
ReturnCode |
NUM_BIN_4 type (output parameter) |
Assigns the same width to all the columns in the first table in the current range.
The ReturnCode parameter will be set to "0" if the method is called successfully, or to a value other than "0" if this is not the case.
Syntax | |
CALL_METHOD NameWordClientObject COLS_DISTRIBUTE_WIDTH ReturnCode |
|
Parameters |
|
ReturnCode |
NUM_BIN_4 type (output parameter) |
Sets the width of the columns in the first table in the current range. The unit of measurement used is the centimeter.
The ReturnCode parameter will be set to "0" if the method is called successfully, or to a value other than "0" if this is not the case.
Syntax | |
CALL_METHOD NameWordClientObject COLS_SET_WIDTH Width ReturnCode |
|
Parameters |
|
Width |
NUM_E(15,9) type (input parameter) |
ReturnCode |
NUM_BIN_4 type (output parameter) |
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: