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 November 20, 2019, at 03:32:07 PM.

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