FormattedText 생성자

정의

FormattedText 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush)
사용되지 않음.

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기 및 브러시를 사용하여 클래스의 FormattedText 새 인스턴스를 초기화합니다.

FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, Double)

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기, 전경 브러시 및 pixelsPerDip 값을 사용하여 클래스의 새 인스턴스 FormattedText 를 초기화합니다.

FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution)
사용되지 않음.

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기, 브러시 및 숫자 대체 동작을 사용하여 클래스의 FormattedText 새 인스턴스를 초기화합니다.

FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution, Double)

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기, 전경 브러시, 숫자 대체 동작 및 pixelsPerDip 값을 사용하여 클래스의 새 인스턴스 FormattedText 를 초기화합니다.

FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution, TextFormattingMode)
사용되지 않음.

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기, 브러시, 숫자 대체 동작 및 텍스트 서식 모드를 사용하여 클래스의 FormattedText 새 인스턴스를 초기화합니다.

FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution, TextFormattingMode, Double)

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기, 전경 브러시, 숫자 대체 동작 및 pixelsPerDip 값을 사용하여 클래스의 새 인스턴스 FormattedText 를 초기화합니다.

FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush)

주의

Use the PixelsPerDip override

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기 및 브러시를 사용하여 클래스의 FormattedText 새 인스턴스를 초기화합니다.

public:
 FormattedText(System::String ^ textToFormat, System::Globalization::CultureInfo ^ culture, System::Windows::FlowDirection flowDirection, System::Windows::Media::Typeface ^ typeface, double emSize, System::Windows::Media::Brush ^ foreground);
public FormattedText(string textToFormat, System.Globalization.CultureInfo culture, System.Windows.FlowDirection flowDirection, System.Windows.Media.Typeface typeface, double emSize, System.Windows.Media.Brush foreground);
[System.Obsolete("Use the PixelsPerDip override", false)]
public FormattedText(string textToFormat, System.Globalization.CultureInfo culture, System.Windows.FlowDirection flowDirection, System.Windows.Media.Typeface typeface, double emSize, System.Windows.Media.Brush foreground);
new System.Windows.Media.FormattedText : string * System.Globalization.CultureInfo * System.Windows.FlowDirection * System.Windows.Media.Typeface * double * System.Windows.Media.Brush -> System.Windows.Media.FormattedText
[<System.Obsolete("Use the PixelsPerDip override", false)>]
new System.Windows.Media.FormattedText : string * System.Globalization.CultureInfo * System.Windows.FlowDirection * System.Windows.Media.Typeface * double * System.Windows.Media.Brush -> System.Windows.Media.FormattedText
Public Sub New (textToFormat As String, culture As CultureInfo, flowDirection As FlowDirection, typeface As Typeface, emSize As Double, foreground As Brush)

매개 변수

textToFormat
String

표시할 텍스트입니다.

culture
CultureInfo

텍스트의 특정 문화권입니다.

flowDirection
FlowDirection

텍스트를 읽는 방향입니다.

typeface
Typeface

글꼴 패밀리, 두께, 스타일 및 텍스트의 서식을 지정해야 합니다.

emSize
Double

텍스트의 서식을 지정해야 하는 글꼴 크기입니다.

foreground
Brush

각 문자 모양을 그리는 데 사용되는 브러시입니다.

특성

적용 대상

FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, Double)

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기, 전경 브러시 및 pixelsPerDip 값을 사용하여 클래스의 새 인스턴스 FormattedText 를 초기화합니다.

public:
 FormattedText(System::String ^ textToFormat, System::Globalization::CultureInfo ^ culture, System::Windows::FlowDirection flowDirection, System::Windows::Media::Typeface ^ typeface, double emSize, System::Windows::Media::Brush ^ foreground, double pixelsPerDip);
public FormattedText(string textToFormat, System.Globalization.CultureInfo culture, System.Windows.FlowDirection flowDirection, System.Windows.Media.Typeface typeface, double emSize, System.Windows.Media.Brush foreground, double pixelsPerDip);
new System.Windows.Media.FormattedText : string * System.Globalization.CultureInfo * System.Windows.FlowDirection * System.Windows.Media.Typeface * double * System.Windows.Media.Brush * double -> System.Windows.Media.FormattedText
Public Sub New (textToFormat As String, culture As CultureInfo, flowDirection As FlowDirection, typeface As Typeface, emSize As Double, foreground As Brush, pixelsPerDip As Double)

매개 변수

textToFormat
String

표시할 텍스트입니다.

culture
CultureInfo

텍스트의 특정 문화권입니다.

flowDirection
FlowDirection

텍스트를 읽는 방향입니다.

typeface
Typeface

글꼴 패밀리, 두께, 스타일 및 텍스트의 서식을 지정해야 합니다.

emSize
Double

장치 독립적 단위(단위당 1/96인치)로 제공되는 텍스트 em 측정값의 글꼴 크기입니다.

foreground
Brush

각 문자 모양을 그리는 데 사용되는 브러시입니다.

pixelsPerDip
Double

배율 인수에 해당하는 밀도별 픽셀 독립 픽셀 값입니다. 예를 들어 화면의 DPI가 120(120/96 = 1.25이기 때문에 1.25)인 경우 밀도 독립적 픽셀당 1.25픽셀이 그려집니다. DIP는 WPF 디바이스 해상도 및 DPI와 독립적으로 사용하는 측정 단위입니다.

적용 대상

FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution)

주의

Use the PixelsPerDip override

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기, 브러시 및 숫자 대체 동작을 사용하여 클래스의 FormattedText 새 인스턴스를 초기화합니다.

public:
 FormattedText(System::String ^ textToFormat, System::Globalization::CultureInfo ^ culture, System::Windows::FlowDirection flowDirection, System::Windows::Media::Typeface ^ typeface, double emSize, System::Windows::Media::Brush ^ foreground, System::Windows::Media::NumberSubstitution ^ numberSubstitution);
public FormattedText(string textToFormat, System.Globalization.CultureInfo culture, System.Windows.FlowDirection flowDirection, System.Windows.Media.Typeface typeface, double emSize, System.Windows.Media.Brush foreground, System.Windows.Media.NumberSubstitution numberSubstitution);
[System.Obsolete("Use the PixelsPerDip override", false)]
public FormattedText(string textToFormat, System.Globalization.CultureInfo culture, System.Windows.FlowDirection flowDirection, System.Windows.Media.Typeface typeface, double emSize, System.Windows.Media.Brush foreground, System.Windows.Media.NumberSubstitution numberSubstitution);
new System.Windows.Media.FormattedText : string * System.Globalization.CultureInfo * System.Windows.FlowDirection * System.Windows.Media.Typeface * double * System.Windows.Media.Brush * System.Windows.Media.NumberSubstitution -> System.Windows.Media.FormattedText
[<System.Obsolete("Use the PixelsPerDip override", false)>]
new System.Windows.Media.FormattedText : string * System.Globalization.CultureInfo * System.Windows.FlowDirection * System.Windows.Media.Typeface * double * System.Windows.Media.Brush * System.Windows.Media.NumberSubstitution -> System.Windows.Media.FormattedText
Public Sub New (textToFormat As String, culture As CultureInfo, flowDirection As FlowDirection, typeface As Typeface, emSize As Double, foreground As Brush, numberSubstitution As NumberSubstitution)

매개 변수

textToFormat
String

표시할 텍스트입니다.

culture
CultureInfo

텍스트의 특정 문화권입니다.

flowDirection
FlowDirection

텍스트를 읽는 방향입니다.

typeface
Typeface

글꼴 패밀리, 두께, 스타일 및 텍스트의 서식을 지정해야 합니다.

emSize
Double

장치 독립적 단위(단위당 1/96인치)로 제공되는 텍스트 em 측정값의 글꼴 크기입니다.

foreground
Brush

각 문자 모양을 그리는 데 사용되는 브러시입니다.

numberSubstitution
NumberSubstitution

텍스트에 적용할 숫자 대체 동작입니다.

특성

적용 대상

FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution, Double)

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기, 전경 브러시, 숫자 대체 동작 및 pixelsPerDip 값을 사용하여 클래스의 새 인스턴스 FormattedText 를 초기화합니다.

public:
 FormattedText(System::String ^ textToFormat, System::Globalization::CultureInfo ^ culture, System::Windows::FlowDirection flowDirection, System::Windows::Media::Typeface ^ typeface, double emSize, System::Windows::Media::Brush ^ foreground, System::Windows::Media::NumberSubstitution ^ numberSubstitution, double pixelsPerDip);
public FormattedText(string textToFormat, System.Globalization.CultureInfo culture, System.Windows.FlowDirection flowDirection, System.Windows.Media.Typeface typeface, double emSize, System.Windows.Media.Brush foreground, System.Windows.Media.NumberSubstitution numberSubstitution, double pixelsPerDip);
new System.Windows.Media.FormattedText : string * System.Globalization.CultureInfo * System.Windows.FlowDirection * System.Windows.Media.Typeface * double * System.Windows.Media.Brush * System.Windows.Media.NumberSubstitution * double -> System.Windows.Media.FormattedText
Public Sub New (textToFormat As String, culture As CultureInfo, flowDirection As FlowDirection, typeface As Typeface, emSize As Double, foreground As Brush, numberSubstitution As NumberSubstitution, pixelsPerDip As Double)

매개 변수

textToFormat
String

표시할 텍스트입니다.

culture
CultureInfo

텍스트의 특정 문화권입니다.

flowDirection
FlowDirection

텍스트를 읽는 방향입니다.

typeface
Typeface

글꼴 패밀리, 두께, 스타일 및 텍스트의 서식을 지정해야 합니다.

emSize
Double

장치 독립적 단위(단위당 1/96인치)로 제공되는 텍스트 em 측정값의 글꼴 크기입니다.

foreground
Brush

각 문자 모양을 그리는 데 사용되는 브러시입니다.

numberSubstitution
NumberSubstitution

에 따라 텍스트의 숫자가 표시되는 방식을 지정합니다 NumberSubstitution. 이 값은 null일 수 있습니다.

pixelsPerDip
Double

배율 인수에 해당하는 밀도별 픽셀 독립 픽셀 값입니다. 예를 들어 화면의 DPI가 120(120/96 = 1.25이기 때문에 1.25)인 경우 밀도 독립적 픽셀당 1.25픽셀이 그려집니다. DIP는 WPF 디바이스 해상도 및 DPI와 독립적으로 사용하는 측정 단위입니다.

적용 대상

FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution, TextFormattingMode)

주의

Use the PixelsPerDip override

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기, 브러시, 숫자 대체 동작 및 텍스트 서식 모드를 사용하여 클래스의 FormattedText 새 인스턴스를 초기화합니다.

public:
 FormattedText(System::String ^ textToFormat, System::Globalization::CultureInfo ^ culture, System::Windows::FlowDirection flowDirection, System::Windows::Media::Typeface ^ typeface, double emSize, System::Windows::Media::Brush ^ foreground, System::Windows::Media::NumberSubstitution ^ numberSubstitution, System::Windows::Media::TextFormattingMode textFormattingMode);
public FormattedText(string textToFormat, System.Globalization.CultureInfo culture, System.Windows.FlowDirection flowDirection, System.Windows.Media.Typeface typeface, double emSize, System.Windows.Media.Brush foreground, System.Windows.Media.NumberSubstitution numberSubstitution, System.Windows.Media.TextFormattingMode textFormattingMode);
[System.Obsolete("Use the PixelsPerDip override", false)]
public FormattedText(string textToFormat, System.Globalization.CultureInfo culture, System.Windows.FlowDirection flowDirection, System.Windows.Media.Typeface typeface, double emSize, System.Windows.Media.Brush foreground, System.Windows.Media.NumberSubstitution numberSubstitution, System.Windows.Media.TextFormattingMode textFormattingMode);
new System.Windows.Media.FormattedText : string * System.Globalization.CultureInfo * System.Windows.FlowDirection * System.Windows.Media.Typeface * double * System.Windows.Media.Brush * System.Windows.Media.NumberSubstitution * System.Windows.Media.TextFormattingMode -> System.Windows.Media.FormattedText
[<System.Obsolete("Use the PixelsPerDip override", false)>]
new System.Windows.Media.FormattedText : string * System.Globalization.CultureInfo * System.Windows.FlowDirection * System.Windows.Media.Typeface * double * System.Windows.Media.Brush * System.Windows.Media.NumberSubstitution * System.Windows.Media.TextFormattingMode -> System.Windows.Media.FormattedText
Public Sub New (textToFormat As String, culture As CultureInfo, flowDirection As FlowDirection, typeface As Typeface, emSize As Double, foreground As Brush, numberSubstitution As NumberSubstitution, textFormattingMode As TextFormattingMode)

매개 변수

textToFormat
String

표시할 텍스트입니다.

culture
CultureInfo

텍스트의 특정 문화권입니다.

flowDirection
FlowDirection

텍스트를 읽는 방향입니다.

typeface
Typeface

글꼴 패밀리, 두께, 스타일 및 텍스트의 서식을 지정해야 합니다.

emSize
Double

장치 독립적 단위(단위당 1/96인치)로 제공되는 텍스트 em 측정값의 글꼴 크기입니다.

foreground
Brush

각 문자 모양을 그리는 데 사용되는 브러시입니다.

numberSubstitution
NumberSubstitution

텍스트에 적용할 숫자 대체 동작입니다.

textFormattingMode
TextFormattingMode

TextFormattingMode 텍스트에 적용할 값입니다.

특성

적용 대상

FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution, TextFormattingMode, Double)

지정된 텍스트, 문화권, 흐름 방향, 서체, 글꼴 크기, 전경 브러시, 숫자 대체 동작 및 pixelsPerDip 값을 사용하여 클래스의 새 인스턴스 FormattedText 를 초기화합니다.

public:
 FormattedText(System::String ^ textToFormat, System::Globalization::CultureInfo ^ culture, System::Windows::FlowDirection flowDirection, System::Windows::Media::Typeface ^ typeface, double emSize, System::Windows::Media::Brush ^ foreground, System::Windows::Media::NumberSubstitution ^ numberSubstitution, System::Windows::Media::TextFormattingMode textFormattingMode, double pixelsPerDip);
public FormattedText(string textToFormat, System.Globalization.CultureInfo culture, System.Windows.FlowDirection flowDirection, System.Windows.Media.Typeface typeface, double emSize, System.Windows.Media.Brush foreground, System.Windows.Media.NumberSubstitution numberSubstitution, System.Windows.Media.TextFormattingMode textFormattingMode, double pixelsPerDip);
new System.Windows.Media.FormattedText : string * System.Globalization.CultureInfo * System.Windows.FlowDirection * System.Windows.Media.Typeface * double * System.Windows.Media.Brush * System.Windows.Media.NumberSubstitution * System.Windows.Media.TextFormattingMode * double -> System.Windows.Media.FormattedText
Public Sub New (textToFormat As String, culture As CultureInfo, flowDirection As FlowDirection, typeface As Typeface, emSize As Double, foreground As Brush, numberSubstitution As NumberSubstitution, textFormattingMode As TextFormattingMode, pixelsPerDip As Double)

매개 변수

textToFormat
String

표시할 텍스트입니다.

culture
CultureInfo

텍스트의 특정 문화권입니다.

flowDirection
FlowDirection

텍스트를 읽는 방향입니다.

typeface
Typeface

글꼴 패밀리, 두께, 스타일 및 텍스트의 서식을 지정해야 합니다.

emSize
Double

장치 독립적 단위(단위당 1/96인치)로 제공되는 텍스트 em 측정값의 글꼴 크기입니다.

foreground
Brush

그는 각 문자 모양을 그리는 데 사용되는 브러시입니다.

numberSubstitution
NumberSubstitution

에 따라 텍스트의 숫자가 표시되는 방식을 지정합니다 NumberSubstitution. 이 값은 null일 수 있습니다.

textFormattingMode
TextFormattingMode

WPF 텍스트를 표시하는 방법에 영향을 주는 서식 모드입니다.

pixelsPerDip
Double

배율 인수에 해당하는 밀도별 픽셀 독립 픽셀 값입니다. 예를 들어 화면의 DPI가 120(120/96 = 1.25이기 때문에 1.25)인 경우 밀도 독립적 픽셀당 1.25픽셀이 그려집니다. DIP는 WPF 디바이스 해상도 및 DPI와 독립적으로 사용하는 측정 단위입니다.

적용 대상