RtfComplianceIssueOffset Property

Get the character offset within the document where the violation was found.

Definition

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

Property Value

Int64
The character offset.

Remarks

Gets the zero-based offset, in characters, of the token where the violation was found, relative to the start of the document.

The RTF converters read their input as Latin-1 by default, in which case this is also the byte offset.

See Also