C# Class ICSharpCode.AvalonEdit.Rendering.VisualLineElementTextRunProperties

TextRunProperties implementation that allows changing the properties. A VisualLineElementTextRunProperties instance usually is assigned to a single VisualLineElement.
Inheritance: TextRunProperties, ICloneable
Afficher le fichier Open project: VE-2016/VE-2016 Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
ICloneable ( ) : object

Method Details

Clone() public méthode

Creates a copy of this instance.
public Clone ( ) : VisualLineElementTextRunProperties
Résultat VisualLineElementTextRunProperties

SetBackgroundBrush() public méthode

Sets the BackgroundBrush.
public SetBackgroundBrush ( Brush value ) : void
value Brush
Résultat void

SetBaselineAlignment() public méthode

Sets the BaselineAlignment.
public SetBaselineAlignment ( BaselineAlignment value ) : void
value BaselineAlignment
Résultat void

SetCultureInfo() public méthode

Sets the CultureInfo.
public SetCultureInfo ( CultureInfo value ) : void
value CultureInfo
Résultat void

SetFontHintingEmSize() public méthode

Sets the FontHintingEmSize.
public SetFontHintingEmSize ( double value ) : void
value double
Résultat void

SetFontRenderingEmSize() public méthode

Sets the FontRenderingEmSize.
public SetFontRenderingEmSize ( double value ) : void
value double
Résultat void

SetForegroundBrush() public méthode

Sets the ForegroundBrush.
public SetForegroundBrush ( Brush value ) : void
value Brush
Résultat void

SetNumberSubstitution() public méthode

Sets the NumberSubstitution.
public SetNumberSubstitution ( NumberSubstitution value ) : void
value NumberSubstitution
Résultat void

SetTextDecorations() public méthode

Sets the TextDecorations.
public SetTextDecorations ( TextDecorationCollection value ) : void
value TextDecorationCollection
Résultat void

SetTextEffects() public méthode

Sets the TextEffects.
public SetTextEffects ( TextEffectCollection value ) : void
value TextEffectCollection
Résultat void

SetTypeface() public méthode

Sets the Typeface.
public SetTypeface ( Typeface value ) : void
value Typeface
Résultat void

SetTypographyProperties() public méthode

Sets the TypographyProperties.
public SetTypographyProperties ( TextRunTypographyProperties value ) : void
value TextRunTypographyProperties
Résultat void

VisualLineElementTextRunProperties() public méthode

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
Résultat ICSharpCode.AvalonEdit.Utils