C# 클래스 ICSharpCode.AvalonEdit.Rendering.VisualLineElementTextRunProperties

TextRunProperties implementation that allows changing the properties. A VisualLineElementTextRunProperties instance usually is assigned to a single VisualLineElement.
상속: TextRunProperties, ICloneable
파일 보기 프로젝트 열기: VE-2016/VE-2016 1 사용 예제들

공개 메소드들

메소드 설명
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