Products Downloads


French version


 

PRGFMT_SET_ALIGNMENT

Sets the alignment of the paragraphs 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 PRGFMT_SET_ALIGNMENT Alignment ReturnCode

Paramètres

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)

 

 

↑ Top of page