Parses the input string for a display value. The ‘display’ property only affects the direct rendering of a given element, whereas it does not prevent elements from being referenced by other elements.
The allowable values are none | inherit | other where other may be any keyword (always translated to visible=true)
Namespace: RSSVGUtils
Delphi |
function ParseDisplay( S: String; DefValue: Boolean; var Inherits: Boolean ): Boolean; |
Parameters
S
Type: String
Input string to parse
DefValue
Type: Boolean
Default Value. If the string is empty, the default value is returned
Inherits
Type: Boolean
Set to True when the input string contains 'inherit' keyword
Type: Boolean
If the string is blank, the function returns the default value ( DefValue). If the string contains 'inherits', the function returns the default value and sets the Inherits parameter to true. |
Reference |