4D v16WP RESET ATTRIBUTES |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
WP RESET ATTRIBUTES
WP RESET ATTRIBUTES
The WP RESET ATTRIBUTES command allows you to reset the value of one or more attributes in the 4D Write Pro rangeObj. This command can remove any kind of 4D Write Pro internal attribute: character, paragraph, document, or image. A rangeObj is a part of a 4D Write Pro document that can be created by different commands. The following table provides the scope of the WP RESET ATTRIBUTES command depending on the target object and attributes:
When an attribute value is removed using the WP RESET ATTRIBUTES command, it is reset to the default value. Default values are listed in the 4D Write Pro Attributes section. If the attribute to be reset was not defined in the rangeObj, the command does nothing. You want to remove several attributes from the following selection: You can execute: $range:=WP Get selection(*;"WParea") The resulting document is:
See also
|
PROPERTIES
Product: 4D HISTORY
Created: 4D v15 R4 ARTICLE USAGE
4D Write Pro Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||