RtfComplianceIssueDepth Property

Get the group nesting depth where the violation was found.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int Depth { get; }

Property Value

Int32
The group nesting depth.

Remarks

Gets the number of groups that enclose the token where the violation was found. The content of a well-formed document is at a depth of at least 1, because the document itself is a group.

A group start or group end is at the depth of the group that encloses it.

See Also