JustErrorN Method

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:08

Description

Returns the number of justification errors in the text of the node.

Available in Ted and in Fred.

If the node is the root one JustErrorN returns the total number of justification errors in all the texts of the article.

Syntax

dim iValue as Integer = object.JustErrorN

object

Required. Object name. Returned by the GetRootNode, GetCurNode, GetTxtNode, GetParent, GetChild functions of the object, returned by Ted.GetActiveArticle.

Example

Display the total number of formatting errors in entire article:

dim objNode = Ted.GetActiveArticle.GetRootNode

msgbox (objnode.justerrorn)

Display the number of formatting errors in the first element of the article:

dim objNode = Ted.GetActiveArticle.GettxtNode(0)

msgbox (objnode.justerrorn)

Context

Node object

See also

JustErrorN Method (Text)