C# Класс ICSharpCode.AvalonEdit.Utils.RichTextWriter

A text writer that supports creating spans of highlighted text.
Наследование: TextWriter
Показать файл Открыть проект

Открытые методы

Метод Описание
BeginHyperlinkSpan ( Uri uri ) : void

Begin a span that links to the specified URI.

BeginSpan ( Color foregroundColor ) : void

Begin a colored span.

BeginSpan ( FontFamily fontFamily ) : void

Begin a span with modified font family.

BeginSpan ( FontStyle fontStyle ) : void

Begin a span with modified font style.

BeginSpan ( FontWeight fontWeight ) : void

Begin a span with modified font weight.

BeginSpan ( Highlighting.HighlightingColor highlightingColor ) : void

Begin a highlighted span.

EndSpan ( ) : void

Marks the end of the current span.

Indent ( ) : void

Increases the indentation level.

Unindent ( ) : void

Decreases the indentation level.

Write ( RichText richText ) : void

Writes the RichText instance.

Write ( RichText richText, int offset, int length ) : void

Writes the RichText instance.

Защищенные методы

Метод Описание
BeginUnhandledSpan ( ) : void

Gets called by the RichTextWriter base class when a BeginSpan() method that is not overwritten gets called.

Описание методов

BeginHyperlinkSpan() публичный Метод

Begin a span that links to the specified URI.
public BeginHyperlinkSpan ( Uri uri ) : void
uri Uri
Результат void

BeginSpan() публичный Метод

Begin a colored span.
public BeginSpan ( Color foregroundColor ) : void
foregroundColor Color
Результат void

BeginSpan() публичный Метод

Begin a span with modified font family.
public BeginSpan ( FontFamily fontFamily ) : void
fontFamily FontFamily
Результат void

BeginSpan() публичный Метод

Begin a span with modified font style.
public BeginSpan ( FontStyle fontStyle ) : void
fontStyle FontStyle
Результат void

BeginSpan() публичный Метод

Begin a span with modified font weight.
public BeginSpan ( FontWeight fontWeight ) : void
fontWeight FontWeight
Результат void

BeginSpan() публичный Метод

Begin a highlighted span.
public BeginSpan ( Highlighting.HighlightingColor highlightingColor ) : void
highlightingColor Highlighting.HighlightingColor
Результат void

BeginUnhandledSpan() защищенный абстрактный Метод

Gets called by the RichTextWriter base class when a BeginSpan() method that is not overwritten gets called.
protected abstract BeginUnhandledSpan ( ) : void
Результат void

EndSpan() публичный абстрактный Метод

Marks the end of the current span.
public abstract EndSpan ( ) : void
Результат void

Indent() публичный абстрактный Метод

Increases the indentation level.
public abstract Indent ( ) : void
Результат void

Unindent() публичный абстрактный Метод

Decreases the indentation level.
public abstract Unindent ( ) : void
Результат void

Write() публичный Метод

Writes the RichText instance.
public Write ( RichText richText ) : void
richText RichText
Результат void

Write() публичный Метод

Writes the RichText instance.
public Write ( RichText richText, int offset, int length ) : void
richText RichText
offset int
length int
Результат void