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
Show file Open project: VE-2016/VE-2016 Class Usage Examples

Public Methods

Method 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

Method Description
ICloneable ( ) : object

Method Details

Clone() public method

Creates a copy of this instance.
public Clone ( ) : VisualLineElementTextRunProperties
return VisualLineElementTextRunProperties

SetBackgroundBrush() public method

Sets the BackgroundBrush.
public SetBackgroundBrush ( Brush value ) : void
value Brush
return void

SetBaselineAlignment() public method

Sets the BaselineAlignment.
public SetBaselineAlignment ( BaselineAlignment value ) : void
value BaselineAlignment
return void

SetCultureInfo() public method

Sets the CultureInfo.
public SetCultureInfo ( CultureInfo value ) : void
value CultureInfo
return void

SetFontHintingEmSize() public method

Sets the FontHintingEmSize.
public SetFontHintingEmSize ( double value ) : void
value double
return void

SetFontRenderingEmSize() public method

Sets the FontRenderingEmSize.
public SetFontRenderingEmSize ( double value ) : void
value double
return void

SetForegroundBrush() public method

Sets the ForegroundBrush.
public SetForegroundBrush ( Brush value ) : void
value Brush
return void

SetNumberSubstitution() public method

Sets the NumberSubstitution.
public SetNumberSubstitution ( NumberSubstitution value ) : void
value NumberSubstitution
return void

SetTextDecorations() public method

Sets the TextDecorations.
public SetTextDecorations ( TextDecorationCollection value ) : void
value TextDecorationCollection
return void

SetTextEffects() public method

Sets the TextEffects.
public SetTextEffects ( TextEffectCollection value ) : void
value TextEffectCollection
return void

SetTypeface() public method

Sets the Typeface.
public SetTypeface ( Typeface value ) : void
value Typeface
return void

SetTypographyProperties() public method

Sets the TypographyProperties.
public SetTypographyProperties ( TextRunTypographyProperties value ) : void
value TextRunTypographyProperties
return void

VisualLineElementTextRunProperties() public method

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
return ICSharpCode.AvalonEdit.Utils