Products Downloads


French version


 

Collapses the current range in the specified direction. Once the range has been reduced, the start and end positions will be in the same place.

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 RNG_COLLAPSE Direction ReturnCode

Parameters

Direction

NUM_BIN_4 type (input parameter)

Possible values:

_WRD_COLLAPSE_START

collapses the range to its start position,

_WRD_COLLAPSE_END

collapses the range to its end position.

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Copies the contents of the current range to the clipboard. The current range is not changed.

Syntax

CALL_METHOD NameWordClientObject RNG_COPY ReturnCode

Parameters

ReturnCode

NUM_BIN_4 type (output parameter)

Possible values:

0

Method run successfully.

Other

Method failed and returned 1 if the range is empty.

 

 

Deletes the contents of the current range and places them in the clipboard. The range is shortened.

Syntax

CALL_METHOD NameWordClientObject RNG_CUT ReturnCode

Parameters

ReturnCode

NUM_BIN_4 type (output parameter)

Possible values:

0

Method run successfully.

Other

Method failed and returned 1 if the range is empty.

 

 

Positions and collapses the current range to the start of the specified element, on the basis of the following parameters:

Type

type of the element to which the range is to be moved,

MovementType

type of movement to be performed,

Number

number (always positive) of the element in the document,

Name

element name, in the case of bookmarks, notes and fields.

 

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 RNG_GO_TO Type MovementType Number Name ReturnCode

Parameters

Type

NUM_BIN_4 type (input parameter)

_WRD_GO_TO_BOOKMARK

the range will be moved to a bookmark,

_WRD_VERS_COMMENT

the range will be moved to a comment,

_WRD_VERS_ENDNOTE

the range will be moved to a endnote,

_WRD_VERS_EQUATION

the range will be moved to a equation,

_WRD_GO_TO_FIELD

the range will be moved to a field,

_WRD_GO_TO_FOOTNOTE

the range will be moved to a footnote,

_WRD_GO_TO_GRAMMATICAL_ERROR

the range will be moved to a grammatical error,

_WRD_GO_TO_GRAPHIC

the range will be moved to a graphic,

_WRD_GO_TO_HEADING

the range will be moved to a heading,

_WRD_GO_TO_LINE

the range will be moved to a line,

_WRD_GO_TO_OBJECT

the range will be moved to an object,

_WRD_GO_TO_PAGE

the range will be moved to a page,

_WRD_GO_TO_SECTION

the range will be moved to a section,

_WRD_GO_TO_TABLE

the range will be moved to a table.

MovementType

NUM_BIN_4 type (input parameter)

_WRD_GO_TO_ABSOLUTE

absolute movement,

_WRD_GO_TO_FIRST

the range will be moved to the first element,

_WRD_GO_TO_LAST

the range will be moved to the last element,

_WRD_GO_TO_NEXT

the range will be moved to the next element,

_WRD_GO_TO_PREVIOUS

the range will be moved to the previous element,

_WRD_GO_TO_RELATIVE

relative movement.

Number

NUM_BIN_4 type (input parameter)

Name

ALPHA(50) type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Positions (and collapses) the range to the start of the following element specified by Type .

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 RNG_GO_TO_NEXT Type ReturnCode

Parameters

Type

NUM_BIN_4 type (input parameter)

_WRD_GO_TO_COMMENT

the range will be moved to a comment,

_WRD_GO_TO_ENDNOTE

the range will be moved to an endnote,

_WRD_GO_TO_EQUATION

the range will be moved to an equation,

_WRD_GO_TO_FIELD

the range will be moved to a field,

_WRD_GO_TO_FOOTNOTE

the range will be moved to a footnote,

_WRD_GO_TO_GRAMMATICAL_ERROR

the range will be moved to a grammatical error,

_WRD_GO_TO_GRAPHIC

the range will be moved to a graphic,

_WRD_GO_TO_HEADING

the range will be moved to a heading,

_WRD_GO_TO_LINE

the range will be moved to a line,

_WRD_GO_TO_OBJECT

the range will be moved to an object,

_WRD_GO_TO_PAGE

the range will be moved to a page,

_WRD_GO_TO_SECTION

the range will be moved to a section,

_WRD_GO_TO_TABLE

the range will be moved to a table.

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Positions (and collapses) the range to the start of the previous element specified by Type .

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 RNG_GO_TO_PREVIOUS Type ReturnCode

Parameters

Type

NUM_BIN_4 type (input parameter)

_WRD_GO_TO_COMMENT

the range will be moved to a comment,

_WRD_GO_TO_ENDNOTE

the range will be moved to an endnote,

_WRD_GO_TO_EQUATION

the range will be moved to an equation,

_WRD_GO_TO_FIELD

the range will be moved to a field,

_WRD_GO_TO_FOOTNOTE

the range will be moved to a footnote,

_WRD_GO_TO_GRAMMATICAL_ERROR

the range will be moved to a grammatical error,

_WRD_GO_TO_GRAPHIC

the range will be moved to a graphic,

_WRD_GO_TO_HEADING

the range will be moved to a heading,

_WRD_GO_TO_LINE

the range will be moved to a line,

_WRD_GO_TO_OBJECT

the range will be moved to an object,

_WRD_GO_TO_PAGE

the range will be moved to a page,

_WRD_GO_TO_SECTION

the range will be moved to a section,

_WRD_GO_TO_TABLE

the range will be moved to a table.

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Inserts text at the end of the current range. After insertion, the range will be extended to include the new text.

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 RNG_INSERT_AFTER Text ReturnCode

Parameters

Text

ALPHA(any n) type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Inserts text at the start of the current range. After insertion, the range will be extended to include the new text.

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 RNG_INSERT_BEFORE Text ReturnCode

Parameters

Text

ALPHA(any n) type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Inserts a page, column or section break. When a page or column break is inserted, the range's contents will be replaced by the break. When a section break is inserted, it will appear immediately before the 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 RNG_INSERT_BREAK BreakType ReturnCode

Parameters

BreakType

NUM_BIN_4 type (input parameter)

_WRD_COLUMN_BREAK

column break,

_WRD_LINE_BREAK

line break,

_WRD_PAGE_BREAK

page break,

_WRD_SECTION_BREAK_CONTINUOUS

section break, with the new section beginning immediately after the previous one,

_WRD_SECTION_BREAK_EVEN_PAGE

section break, with the new section beginning on the next even page,

_WRD_SECTION_BREAK_ODD_PAGE

section break, with the new section beginning on the next odd page,

_WRD_SECTION_BREAK_NEXT_PAGE

section break, with the new section beginning on the next page.

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Inserts the current date and/or time in text form or as a TIME field. If the Format field has not been completed, the date will be inserted in the abbreviated format used in the Windows Control Panel. The range will be collapsed and positioned at the start of the newly added text.

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 RNG_INSERT_DATE_TIME Format TimeField ReturnCode

Parameters

Format

ALPHA(50) type (input parameter)

TimeField

BOOL type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Inserts a file or a portion of a file to replace the contents of the current range.

If the file inserted is a Microsoft Word file, it is possible to insert only the text contained in a bookmark, as well as the bookmark itself. If the file inserted is a Microsoft Excel file, it is possible to insert only one range of a sheet of the file, in the form of a table.

FullFileName

Directory and name of the file to be inserted.

Portion

Bookmark name for a Word file, or range for an Excel file.

Confirmation

Tells Word to request the user to confirm file conversion via a dialog box when inserting a file in a format other than Microsoft Word.

InsertLink

Enables the file to be inserted using the INCLUDETEXT field.

Attachment

Used to insert the file as an attachment to an electronic message.

ReturnCode

Informs as to the result of the method.

 

 

Syntax

CALL_METHOD NameWordClientObject RNG_INSERT_FILE FullFileName Portion Confirmation InsertLink Attachment ReturnCode

Parameters

FileNamePath

ALPHA(260) type (input parameter)

Portion

ALPHA(50) type (input parameter)

Confirmation

BOOL type (input parameter)

InsertLink

BOOL type (input parameter)

Attachment

BOOL type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

Possible values:

0

Method run successfully.

Other

Method failed.

 

Example >>

 

Replaces the current range's contents with paragraph marks.

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 RNG_INSERT_PARAGRAPH NbParagraphs ReturnCode

Parameters

NbParagraphs

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Inserts paragraph marks at the end of the current range. The range will be enlarged to contain the new marks.

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 RNG_INSERT_PARAGRAPH_AFTER NbParagraphs ReturnCode

Parameters

NbParagraphs

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Inserts paragraph marks at the start of the current range. The range will be enlarged to contain the new marks.

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 RNG_INSERT_PARAGRAPH_BEFORE NbParagraphs ReturnCode

Parameters

NbParagraphs

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Replaces the current range's contents with space marks.

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 RNG_INSERT_SPACE NbSpaces ReturnCode

Parameters

NbSpaces

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Inserts spaces at the end of the current range. The range will be enlarged to contain the new space marks.

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 RNG_INSERT_SPACE_AFTER NbSpaces ReturnCode

Parameters

NbSpaces

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Inserts space marks at the start of the current range. The range will be enlarged to contain the new space marks.

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 RNG_INSERT_SPACE_BEFORE NbSpaces ReturnCode

Parameters

NbSpaces

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Replaces the current range's contents with tabulation marks.

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 RNG_INSERT_TABULATION NbTabulations ReturnCode

Parameters

NbTabulations

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Inserts tabulations at the end of the current range. The range will be enlarged to contain the new tabulation marks.

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 RNG_INSERT_TABULATION_AFTER NbTabulations ReturnCode

Parameters

NbTabulations

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Inserts tabulation marks at the start of the current range. The range will be enlarged to contain the new tabulation marks.

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 RNG_INSERT_TABULATION_BEFORE NbTabulations ReturnCode

Parameters

NbTabulations

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Collapses the range to its start or end position, then moves the range by the specified number of units. This method returns the number of movement units, which will be "0" if the movement fails:

Unit

unit representing the distance moved.

Number

number of movement units. If this number is positive, the range will be collapsed to its end position, then moved the specified number of units toward the bottom of the document. If this number is negative, the range will be collapsed to its start position, then moved the specified number of units backward.

NbMovtMade

number of units that the range has been moved.

 

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. The method will not necessarily fail if the movement operation fails.

Syntax

CALL_METHOD NameWordClientObject RNG_MOVE Unit Number NbMovtMade ReturnCode

Parameters

Unit

NUM_BIN_4 type (input parameter)

_WRD_CHARACTER

moved by n characters,

_WRD_WORD

moved by n words,

_WRD_SENTENCE

moved by n sentences,

_WRD_PARAGRAPH

moved by n paragraphs,

_WRD_SECTION

moved by n sections,

_WRD_STORY

moved by n stories,

_WRD_CELL

moved by n cells,

_WRD_COLUMN

moved by n columns,

_WRD_ROW

moved by n rows in a table,

_WRD_TABLE

moved by n tables.

Number

NUM_BIN_4 type (input parameter)

NbMovtMade

NUM_BIN_4 type (output parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Moves the range's end position by the specified number of units. This method returns the number of movement units, which will be "0" if the movement fails:

Unit

unit representing the distance moved.

Number

number of units that the end of the range is moved. If this number is positive, the end of the range will be moved by the specified number of units toward the bottom of the document. If this number is negative, the end of the range will be moved backward by the specified number of units. If the end position is moved backward beyond the start position, the range will be collapsed and the start and end positions moved together.

NbMovtMade

number of units that the range has been moved.

 

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. The method will not necessarily fail if the movement operation fails.

Syntax

CALL_METHOD NameWordClientObject RNG_MOVE_END Unit Number NbMovtMade ReturnCode

Parameters

Unit

NUM_BIN_4 type (input parameter)

_WRD_CHARACTER

moved by n characters,

_WRD_WORD

moved by n words,

_WRD_SENTENCE

moved by n sentences,

_WRD_PARAGRAPH

moved by n paragraphs,

_WRD_SECTION

moved by n sections,

_WRD_STORY

moved by n stories,

_WRD_CELL

moved by n cells,

_WRD_COLUMN

moved by n columns,

_WRD_ROW

moved by n rows in a table,

_WRD_TABLE

moved by n tables.

Number

NUM_BIN_4 type (input parameter)

NbMovtMade

NUM_BIN_4 type (output parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Moves the range's start position by the specified number of units. This method returns the number of movement units, which will be "0" if the movement fails:

Unit

unit representing the distance moved.

Number

number of units that the start of the range is moved. If this number is positive, the start of the range will be moved by the specified number of units toward the bottom of the document. If this number is negative, the start of the range will be moved backward by the specified number of units. If the start position is moved forward beyond the end position, the range will be collapsed and the start and end positions moved together.

NbMovtMade

number of units that the range has been moved.

 

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. The method will not necessarily fail if the movement operation fails.

Syntax

CALL_METHOD NameWordClientObject RNG_MOVE_START Unit Number NbMovtMade ReturnCode

Parameters

Unit

NUM_BIN_4 type (input parameter)

_WRD_CHARACTER

moved by n characters,

_WRD_WORD

moved by n words,

_WRD_SENTENCE

moved by n sentences,

_WRD_PARAGRAPH

moved by n paragraphs,

_WRD_SECTION

moved by n sections,

_WRD_STORY

moved by n stories,

_WRD_CELL

moved by n cells,

_WRD_COLUMN

moved by n columns,

_WRD_ROW

moved by n rows in a table,

_WRD_TABLE

moved by n tables.

Number

NUM_BIN_4 type (input parameter)

NbMovtMade

NUM_BIN_4 type (output parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Collapses the range to its end position, then moves the range forward the specified number of units:

Unit

unit representing the distance moved,

Number

number of units moved forward. This number must be positive.

 

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 RNG_NEXT Unit Number ReturnCode

Parameters

Unit

NUM_BIN_4 type (input parameter)

_WRD_CHARACTER

moved by n characters,

_WRD_WORD

moved by n words,

_WRD_SENTENCE

moved by n sentences,

_WRD_PARAGRAPH

moved by n paragraphs,

_WRD_SECTION

moved by n sections,

_WRD_STORY

moved by n stories,

_WRD_CELL

moved by n cells,

_WRD_COLUMN

moved by n columns,

_WRD_ROW

moved by n rows in a table,

_WRD_TABLE

moved by n tables.

Number

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Replaces the contents of the current range with the clipboard contents.

Syntax

CALL_METHOD NameWordClientObject RNG_PASTE ReturnCode

Parameters

ReturnCode

NUM_BIN_4 type (output parameter)

Possible values:

0

Method run successfully.

Other

Method failed and returned 1 if the clipboard is empty.

 

 

Collapses the range to its start position, then moves the range backward the specified number of units:

Unit

unit representing the distance moved,

Number

number of units moved backward; this number must be positive.

 

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 RNG_PREVIOUS Unit Number ReturnCode

Parameters

Unit

NUM_BIN_4 type (input parameter)

_WRD_CHARACTER

 

moved by n characters,

_WRD_WORD

 

moved by n words,

_WRD_SENTENCE

 

moved by n sentences,

_WRD_PARAGRAPH

 

moved by n paragraphs,

_WRD_SECTION

 

moved by n sections,

_WRD_STORY

 

moved by n stories,

_WRD_CELL

 

moved by n cells,

_WRD_COLUMN

 

moved by n columns,

_WRD_ROW

 

moved by n rows in a table,

_WRD_TABLE

 

moved by n tables.

Number

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Specifies the story and section of the document in which the current range is located. Once this method has been run, the current range will contain the story's entire contents.

Story

story used to define the new current range,

Section

number of the section in the document.

 

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 RNG_SET_STORY Story Section ReturnCode

Parameters

Story

NUM_BIN_2 type (input parameter)

Possible values:

_WRD_MAIN_TEXT_STORY

story related to the main text,

_WRD_FIRST_PAGE_HEADER_STORY

story related to the first page header,

_WRD_FIRST_PAGE_FOOTER_STORY

story related to the first page footer,

_WRD_PRIMARY_HEADER_STORY

story related to the main page header,

_WRD_PRIMARY_FOOTER_STORY

story related to the main page footer,

_WRD_EVEN_PAGES_HEADER_STORY

story related to the even pages header,

_WRD_EVEN_PAGES_FOOTER_STORY

story related to the even pages footer.

Section

NUM_BIN_4 type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Sets the range's style.

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 RNG_SET_STYLE Style ReturnCode

Parameters

Style

NUM_BIN_4 type (input parameter)

_WRD_STYLE_NORMAL

_WRD_STYLE_HEADING1

_WRD_STYLE_HEADING2

_WRD_STYLE_HEADING3

_WRD_STYLE_HEADING4

_WRD_STYLE_HEADING5

_WRD_STYLE_HEADING6

_WRD_STYLE_HEADING7

_WRD_STYLE_HEADING8

_WRD_STYLE_HEADING9

_WRD_STYLE_INDEX1

_WRD_STYLE_INDEX2

_WRD_STYLE_INDEX3

_WRD_STYLE_INDEX4

_WRD_STYLE_INDEX5

_WRD_STYLE_INDEX6

_WRD_STYLE_INDEX7

_WRD_STYLE_INDEX8

_WRD_STYLE_INDEX9

_WRD_STYLE_TOC1

_WRD_STYLE_TOC2

_WRD_STYLE_TOC3

_WRD_STYLE_TOC5

_WRD_STYLE_TOC4

_WRD_STYLE_TOC6

_WRD_STYLE_TOC7

_WRD_STYLE_TOC8

_WRD_STYLE_TOC9

_WRD_STYLE_NORMAL_INDENT

_WRD_STYLE_FOOTNOTE_TEXT

_WRD_STYLE_COMMENT_TEXT

_WRD_STYLE_HEADER

_WRD_STYLE_FOOTER

_WRD_STYLE_INDEX_HEADING

_WRD_STYLE_CAPTION

_WRD_STYLE_TABLE_OF_FIGURES

_WRD_STYLE_ENVELOPE_ADDRESS

_WRD_STYLE_ENVELOPE_RETURN

_WRD_STYLE_FOOTNOTE_REFERENCE

_WRD_STYLE_COMMENT_REFERENCE

_WRD_STYLE_ENDNOTE_REFERENCE

_WRD_STYLE_LINE_NUMBER

_WRD_STYLE_PAGE_NUMBER

_WRD_STYLE_ENDNOTE_TEXT

_WRD_STYLE_COMMENT_TEXT

_WRD_STYLE_TABLE_OF_AUTHORITIES

_WRD_STYLE_MACRO_TEXTE

_WRD_STYLE_TOA_HEADING

_WRD_STYLE_LIST

_WRD_STYLE_LIST2

_WRD_STYLE_LIST3

_WRD_STYLE_LIST4

_WRD_STYLE_LIST5

_WRD_STYLE_LIST_BULLET

_WRD_STYLE_LIST_BULLET2

_WRD_STYLE_LIST_BULLET3

_WRD_STYLE_LIST_BULLET4

_WRD_STYLE_LIST_BULLET5

_WRD_STYLE_LIST_NUMBER

_WRD_STYLE_LIST_NUMBER2

_WRD_STYLE_LIST_NUMBER3

_WRD_STYLE_LIST_NUMBER4

_WRD_STYLE_LIST_NUMBER5

_WRD_STYLE_TITLE

_WRD_STYLE_CLOSING

_WRD_STYLE_SIGNATURE

_WRD_STYLE_DEFAULT_PARAGRAPH_FONT

_WRD_STYLE_LIST_CONTINUE

_WRD_STYLE_LIST_CONTINUE2

_WRD_STYLE_LIST_CONTINUE3

_WRD_STYLE_LIST_CONTINUE4

_WRD_STYLE_LIST_CONTINUE5

_WRD_STYLE_MESSAGE_HEADER

_WRD_STYLE_SUBTITLE

_WRD_STYLE_SALUTATION

_WRD_STYLE_DATE

_WRD_STYLE_BODY_TEXT_FIRST_INDENT

_WRD_STYLE_BODY_TEXT_FIRST_INDENT2

_WRD_STYLE_NOTE_HEADING

_WRD_STYLE_BODY_TEXT

_WRD_STYLE_BODY_TEXT2

_WRD_STYLE_BODY_TEXT3

_WRD_STYLE_BODY_TEXT_INDENT

_WRD_STYLE_BODY_TEXT_INDENT2

_WRD_STYLE_BODY_TEXT_INDENT3

_WRD_STYLE_BLOCK_QUOTATION

_WRD_STYLE_HYPERLINK

_WRD_STYLE_HYPERLINK_FOLLOWED

_WRD_STYLE_STRONG

_WRD_STYLE_EMPHASIS

_WRD_STYLE_NAV_PANE

_WRD_STYLE_PLAIN_TEXT

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

Sets the text in the current range. Provided the range has not been collapsed, its contents will be replaced by the specified text.

Once this method has been run, the range will include the new text.

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 RNG_SET_TEXT Text ReturnCode

Parameters

Text

ALPHA(any n) type (input parameter)

ReturnCode

NUM_BIN_4 type (output parameter)

 

 

 

 

 

 

↑ Top of page