Eduction 23.2

# edkComponent Methods

The following methods are available on `edkComponent` objects.

You can obtain an `edkComponent` object using the getComponent method of an edkmatch object.

Method | Description
--- | ---
getMatchedOffset | Returns the offset of a component in the matched text, in bytes.
getMatchedOffsetLength | Returns the offset of a component in the matched text, in Unicode characters.
getMatchedText | Returns the text that a component originally matched.
getMatchLength | Returns the size of the component matched text, in Unicode characters
getMatchSize | Returns the size of the component matched text, in bytes.
getName | Returns the name of a component.
getOffset | Returns the offset of a component in the normalized text, in bytes.
getOffsetLength | Returns the offset of a component in the normalized text, in Unicode characters.
getText | Returns the text that a component matches.
setMatchLength | Modifies the size of the component matched text, in Unicode characters
setMatchSize | Modifies the size of the component matched text, in bytes.
setName | Modifies the name of a component.
setText | Modifies the text that a component matches.

Copyright 2013-2023 Open Text
Version 23.2 | Last updated March 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Eduction 23.2

Topic Title: edkComponent Methods