FormattedText.SetFontStretch 메서드

정의

FormattedText 개체에 대한 글꼴 늘이기 값을 설정합니다.

오버로드

SetFontStretch(FontStretch)

FormattedText 개체의 전체 문자 집합에 대한 글꼴 늘이기 값을 설정합니다.

SetFontStretch(FontStretch, Int32, Int32)

FormattedText 개체의 지정한 하위 문자 집합에 대한 글꼴 늘이기 값을 설정합니다.

SetFontStretch(FontStretch)

FormattedText 개체의 전체 문자 집합에 대한 글꼴 늘이기 값을 설정합니다.

public:
 void SetFontStretch(System::Windows::FontStretch stretch);
public void SetFontStretch (System.Windows.FontStretch stretch);
member this.SetFontStretch : System.Windows.FontStretch -> unit
Public Sub SetFontStretch (stretch As FontStretch)

매개 변수

stretch
FontStretch

텍스트 서식에 사용할 원하는 FontStretch 값입니다.

설명

글꼴 늘이기 값은 화면에 글꼴이 확장되는 정도를 나타냅니다. FontStretch는 형식인 매개 변수를 초기화 FontStretch 하고 채우는 데 클래스의 FontStretches 정적 값을 사용할 수 있도록 형식 FontStretch변환 동작을 지원합니다. 를 호출 FromOpenTypeStretch 하여 올바르게 초기화된 FontStretch를 만들 수도 있습니다.

이 메서드는 전체 텍스트 문자열에 대한 글꼴 늘이기 값을 설정합니다. 텍스트 문자열의 하위 집합에 대한 글꼴 늘이기 값을 설정하려면 메서드를 SetFontStretch(FontStretch, Int32, Int32) 사용합니다.

적용 대상

SetFontStretch(FontStretch, Int32, Int32)

FormattedText 개체의 지정한 하위 문자 집합에 대한 글꼴 늘이기 값을 설정합니다.

public:
 void SetFontStretch(System::Windows::FontStretch stretch, int startIndex, int count);
public void SetFontStretch (System.Windows.FontStretch stretch, int startIndex, int count);
member this.SetFontStretch : System.Windows.FontStretch * int * int -> unit
Public Sub SetFontStretch (stretch As FontStretch, startIndex As Integer, count As Integer)

매개 변수

stretch
FontStretch

텍스트 서식에 사용할 원하는 FontStretch 값입니다.

startIndex
Int32

글꼴 늘이기를 적용할 첫 문자의 시작 인덱스입니다.

count
Int32

글꼴 늘이기를 적용할 문자 수입니다.

설명

글꼴 늘이기 값은 화면에 글꼴이 확장되는 정도를 나타냅니다.

FontStretch는 형식인 매개 변수를 초기화 FontStretch 하고 채우는 데 클래스의 FontStretches 정적 값을 사용할 수 있도록 형식 FontStretch변환 동작을 지원합니다. 를 호출 FromOpenTypeStretch 하여 올바르게 초기화된 FontStretch를 만들 수도 있습니다.

전체 텍스트 문자열에 대한 글꼴 늘이기 값을 설정하려면 메서드를 SetFontStretch(FontStretch) 사용합니다.

적용 대상