TE Edit Control Java / HTML-JavaScript Help
Product page

TerGetOutColor

Return the color value after calling certain methods.

Color TerGetOutColor(param)
String param;The name of the parameter for which to return the color value. The value to pass for this method is specific to individual methods, such as TerGetTextColor.

Description: Certain methods save a color value to an internal parameter before returning. This color value can be retrieved using this method right after calling the previous method. Example:

if (TerGetTextColor(FontId)) {
     Color TextColor=tej.TerGetOutColor("TextColor");  // get the text color value
                                        // from the previous call to
                                        // TerGetTextColor method

}

Return Value: This method returns a color value after a method call.