C# 클래스 Smrf.NodeXL.Visualization.Wpf.FormattedTextManager

Manages the creation of FormattedText objects.
Call CreateFormattedText(String, Color, Double) to create a FormattedText object. The typeface and font used for creating FormattedText objects can be set using the SetFont method.
상속: VisualizationBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_dFontSize Double
m_oTypeface System.Windows.Media.Typeface

공개 메소드들

메소드 설명
AssertValid ( ) : void
CreateFormattedText ( String text, Color color, Double graphScale ) : System.Windows.Media.FormattedText
CreateFormattedText ( String text, Color color, Double dFontSize, Double graphScale ) : System.Windows.Media.FormattedText
FormattedTextManager ( ) : System

Initializes a new instance of the FormattedTextManager class.

SetFont ( System.Windows.Media.Typeface typeface, Double fontSize ) : void

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

CreateFormattedText() 공개 메소드

public CreateFormattedText ( String text, Color color, Double graphScale ) : System.Windows.Media.FormattedText
text String
color Color
graphScale Double
리턴 System.Windows.Media.FormattedText

CreateFormattedText() 공개 메소드

public CreateFormattedText ( String text, Color color, Double dFontSize, Double graphScale ) : System.Windows.Media.FormattedText
text String
color Color
dFontSize Double
graphScale Double
리턴 System.Windows.Media.FormattedText

FormattedTextManager() 공개 메소드

Initializes a new instance of the FormattedTextManager class.
public FormattedTextManager ( ) : System
리턴 System

SetFont() 공개 메소드

public SetFont ( System.Windows.Media.Typeface typeface, Double fontSize ) : void
typeface System.Windows.Media.Typeface
fontSize Double
리턴 void

프로퍼티 상세

m_dFontSize 보호되어 있는 프로퍼티

protected Double m_dFontSize
리턴 Double

m_oTypeface 보호되어 있는 프로퍼티

protected Typeface,System.Windows.Media m_oTypeface
리턴 System.Windows.Media.Typeface