GetEditText

Return the text in an edit Control.

IList<string> GetEditText();

Parameters

None

Return Value

A list of strings, where each item in the list contains the text for the lines or paragraphs of a multi-line edit control.

Example

Control editArea = this.notepadWindow.FindControl(null, "Edit");

IList<string> lines = editArea.GetEditText();

WriteMessage("num lines=" + lines.Count);

foreach (string s in lines)

WriteMessage(s);

 

Related:

 

This topic was last updated on January 13, 2022, at 02:42:23 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant