Interface ITextMark
Represents a mark for a range of content in an edit control. Marks are used to highlight specific areas of document content in the edit control. For example, spelling errors and comments use marks to draw users attention to those areas.
Namespace: SdlSdl.DesktopEditorEditorApi
Assembly: Sdl.DesktopEditor.EditorApi.dll
Syntax
public interface ITextMark
Properties
Layer
Determines where this mark is painted in relation to the main document content.
Declaration
TextMarkLayer Layer { get; set; }
Property Value
Type | Description |
---|---|
TextMarkLayer |
Painter
The component used for drawing the mark in the edit control.
Declaration
ITextMarkPainter Painter { get; set; }
Property Value
Type | Description |
---|---|
ITextMarkPainter |
Range
The content range the mark applies to.
Declaration
ContentRange Range { get; set; }
Property Value
Type | Description |
---|---|
ContentRange |