JVCL Help:TJvHTMLParser.GetCondition@Integer@string@string@string@Integer
JVCL Help: TJvHTMLParser.GetCondition Method (Integer, string, string, string, Integer)
Search in JVCL Help
Search in all projectsSummary
Retrieves values for a tag definition by ordinal position.
Pascal
procedureGetCondition(Index: Integer; varKeyword: string; varStartTag: string; varEndTag: string; varTextSelection: Integer); overload;
Parameters
Parameters | Description |
Index: Integer | Position of the HTML tag and parsing conditions in the list of defined tags. |
var Keyword: string | Name associated with the HTML tag definition. |
var StartTag: string | HTML that marks the start of the defined tag. |
var EndTag: string | HTML that marls the end of the defined tag. |
var TextSelection: Integer | Position of the text matching the selected tag definition. |
Description
GetCondition is an overloaded procedure used to access and store the information about an HTML tag defined for use in the parser. GetCondition accesses internal TJvParserInfo instances stored for use when parsing the HTML content in the parser.
Index indicates the ordinal position of the HTML tag and parsing conditions in the list of defined tags. Use ConditionsCount to determine the total number of tags defined in the parser. Values in the indicated TJvParserInfo instance are stored in the Keyword, StartTag, EndTag, and TextSelection variable arguments.
Use the Parser property or the AddCondition method to define HTML tags recognized during parsing operations using the parser component.
See Also
TJvParserInfo, TJvHTMLParser.ConditionsCount, TJvHTMLParser.AddCondition, TJvHTMLParser.Parser
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page