Sets the font RGB color used to display the contents 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 FNT_SET_COLOR_INDEX Color ReturnCode |
|||||||||||||||||||||||||||||||||||
Parameters |
|||||||||||||||||||||||||||||||||||
RGB color |
NUM_BIN_4 type (input parameter)
Predefined values:
|
||||||||||||||||||||||||||||||||||
ReturnCode |
NUM_BIN_4 type (output parameter) |
Sets the location of the font used to display the contents 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 FNT_SET_LOCATION Location ReturnCode |
|||||||||
Parameters |
|||||||||
Location |
NUM_BIN_4 type (input parameter) |
||||||||
ReturnCode |
NUM_BIN_4 type (output parameter) Possible values:
|
Sets the name of the font used to display the contents 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 FNT_SET_NAME FontName ReturnCode |
|
Parameters |
|
FontName |
ALPHA(50) type (input parameter) |
ReturnCode |
NUM_BIN_4 type (output parameter) |
Sets the type of underlining applied to the font used to display the contents 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 FNT_SET_UNDERLINE Underline ReturnCode |
|||||||||
Parameters |
|||||||||
Underline |
NUM_BIN_4 type (input parameter) Possible values:
|
||||||||
ReturnCode |
NUM_BIN_4 type (output parameter) |
Sets the style for the font used to display the contents of the current range. The style can be a combination (sum) of values.
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 FNT_SET_STYLE Style ReturnCode |
|||||||||||||||||||||
Parameters |
|||||||||||||||||||||
Style |
NUM_BIN_4 type (input parameter)
Possible values:
|
||||||||||||||||||||
ReturnCode |
NUM_BIN_4 type (output parameter) |
NUM_BIN_4 Style |
NUM_BIN_4 ReturnCode |
Style = _WRD_FONT_STYLE_BOLD + _WRD_FONT_STYLE_EMBOSS |
CALL_METHOD NomObjetClientWord POL_SET_STYLE Style ReturnCode |
/* the text in the range will have the bold and embossed styles only |
Sets the size of the font used to display the contents of the current range. The unit of measurement used is the point.
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 FNT_SET_SIZE Size ReturnCode |
|
Parameters |
|
Size |
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: