Paragraph.IsEnabled

boolean Paragraph.IsEnabled ( 

string ObjectName )

Example 1

license_text_enabled = Paragraph.IsEnabled("License Agreement");

Stores true in a variable named "license_text_enabled" if the "License Agreement" paragraph object is enabled, and false if it is disabled.

Example 2

bPara2Enabled = Paragraph.IsEnabled("Para2");

Checks whether the "Para2" paragraph object is enabled or disabled, and sets the "bPara2Enabled" variable to either true or false accordingly.

Tip: Starting a variable name with "b" is a technique that programmers use to help themselves remember that a variable contains a boolean value.

See also:  Related Actions