Skip to content

ACFILTER_GFX_IS_ENABLED ​

ACFILTER_GFX_IS_ENABLED returns whether the usage of the attribute and class filter for graphics is enabled or disabled.

Syntax ​

leo-grammar
CC "Documentation" ACFILTER_GFX_IS_ENABLED	attribute:strValue

#--> RESULT ecode:intValue enabled:boolValue
CC "Documentation" ACFILTER_GFX_IS_ENABLED	attribute:strValue

#--> RESULT ecode:intValue enabled:boolValue

Parameters ​

  • attribute (strValue) - the name of the attribute

Returns ​

  • ecode (intValue) - Contains the error code or is 0 in case of success
  • enabled (boolValue) - is 1 if the AC filter is enabled and 0 if it is disabled.

Details ​

See Also ​

ACFILTER_GFX_DISABLE
ACFILTER_GFX_ENABLE

Examples ​

asc
CC "Documentation" ACFILTER_GFX_IS_ENABLED attribute:"Attribut- und Klassenfilter"
SET s:"The usage of the attribute and class filter for graphics is %enabled."
SET s:(replace(s, "%", cond(enabled, "", "not ")))
CC "AdoScript" INFOBOX (s)
CC "Documentation" ACFILTER_GFX_IS_ENABLED attribute:"Attribut- und Klassenfilter"
SET s:"The usage of the attribute and class filter for graphics is %enabled."
SET s:(replace(s, "%", cond(enabled, "", "not ")))
CC "AdoScript" INFOBOX (s)

Versions and Changes ​

Available since ADOxx 1.3