C# Класс ICSharpCode.AvalonEdit.Rendering.VisualLineElementTextRunProperties

TextRunProperties implementation that allows changing the properties. A VisualLineElementTextRunProperties instance usually is assigned to a single VisualLineElement.
Наследование: TextRunProperties, ICloneable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Clone ( ) : VisualLineElementTextRunProperties

Creates a copy of this instance.

SetBackgroundBrush ( Brush value ) : void

Sets the BackgroundBrush.

SetBaselineAlignment ( BaselineAlignment value ) : void

Sets the BaselineAlignment.

SetCultureInfo ( CultureInfo value ) : void

Sets the CultureInfo.

SetFontHintingEmSize ( double value ) : void

Sets the FontHintingEmSize.

SetFontRenderingEmSize ( double value ) : void

Sets the FontRenderingEmSize.

SetForegroundBrush ( Brush value ) : void

Sets the ForegroundBrush.

SetNumberSubstitution ( NumberSubstitution value ) : void

Sets the NumberSubstitution.

SetTextDecorations ( TextDecorationCollection value ) : void

Sets the TextDecorations.

SetTextEffects ( TextEffectCollection value ) : void

Sets the TextEffects.

SetTypeface ( Typeface value ) : void

Sets the Typeface.

SetTypographyProperties ( TextRunTypographyProperties value ) : void

Sets the TypographyProperties.

VisualLineElementTextRunProperties ( TextRunProperties textRunProperties ) : ICSharpCode.AvalonEdit.Utils

Creates a new VisualLineElementTextRunProperties instance that copies its values from the specified textRunProperties. For the TextDecorations and TextEffects collections, deep copies are created if those collections are not frozen.

Приватные методы

Метод Описание
ICloneable ( ) : object

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

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

Creates a copy of this instance.
public Clone ( ) : VisualLineElementTextRunProperties
Результат VisualLineElementTextRunProperties

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

Sets the BackgroundBrush.
public SetBackgroundBrush ( Brush value ) : void
value Brush
Результат void

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

Sets the BaselineAlignment.
public SetBaselineAlignment ( BaselineAlignment value ) : void
value BaselineAlignment
Результат void

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

Sets the CultureInfo.
public SetCultureInfo ( CultureInfo value ) : void
value CultureInfo
Результат void

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

Sets the FontHintingEmSize.
public SetFontHintingEmSize ( double value ) : void
value double
Результат void

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

Sets the FontRenderingEmSize.
public SetFontRenderingEmSize ( double value ) : void
value double
Результат void

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

Sets the ForegroundBrush.
public SetForegroundBrush ( Brush value ) : void
value Brush
Результат void

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

Sets the NumberSubstitution.
public SetNumberSubstitution ( NumberSubstitution value ) : void
value NumberSubstitution
Результат void

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

Sets the TextDecorations.
public SetTextDecorations ( TextDecorationCollection value ) : void
value TextDecorationCollection
Результат void

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

Sets the TextEffects.
public SetTextEffects ( TextEffectCollection value ) : void
value TextEffectCollection
Результат void

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

Sets the Typeface.
public SetTypeface ( Typeface value ) : void
value Typeface
Результат void

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

Sets the TypographyProperties.
public SetTypographyProperties ( TextRunTypographyProperties value ) : void
value TextRunTypographyProperties
Результат void

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

Creates a new VisualLineElementTextRunProperties instance that copies its values from the specified textRunProperties. For the TextDecorations and TextEffects collections, deep copies are created if those collections are not frozen.
public VisualLineElementTextRunProperties ( TextRunProperties textRunProperties ) : ICSharpCode.AvalonEdit.Utils
textRunProperties TextRunProperties
Результат ICSharpCode.AvalonEdit.Utils