Products Downloads


French version


 

Adds a column to the first table in the current range, at the specified position.

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 COL_ADD Position ReturnCode

Parameters

Position

NUM_BIN_4 type (input parameter)

Possible values :

integer between 1 and the number of columns in the table

_WRD_FIRST_POSITION

column created as the first column in the table,

_WRD_LAST_POSITION

column created as the last column in the table.

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Changes the width of the specified column, depending on 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 COL_AUTO_FIT ColumnNumber ReturnCode

Parameters

ColumnNumber

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Sets the alignment of the paragraphs in the cells in the specified column in the first table of 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 COL_SET_PARAGRAPH_ALIGNMENT ColumnNum Alignment ReturnCode

Parameters

ColumnNum

NUM_BIN_4 type (input parameter)

Alignment

NUM_BIN_4 type (input parameter)

Possible values :

_WRD_ALIGN_PARAGRAPH_CENTER

the paragraphs in the range will be centered,

_WRD_ALIGN_PARAGRAPH_JUSTIFY

the paragraphs in the range will be justified,

_WRD_ALIGN_PARAGRAPH_LEFT

the paragraphs in the range will be left aligned,

_WRD_ALIGN_PARAGRAPH_RIGHT

the paragraphs in the range will be right aligned,

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Sets the width of the specified column 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 COL_SET_WIDTH ColumnNumber Width ReturnCode

Parameters

ColumnNumber

NUM_BIN_4 type (input parameter)

Width

NUM_E(15,9) type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

 

 

 

 

↑ Top of page