FormattedText.SetFontStretch 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
개체의 글꼴 늘이기 FormattedText 값을 설정합니다.
오버로드
| Name | Description |
|---|---|
| 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 는 클래스의 정적 값을 사용하여 형식인 매개 변수를 FontStretches 초기화 FontStretch 하고 채울 수 있도록 형식 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 는 클래스의 정적 값을 사용하여 형식인 매개 변수를 FontStretches 초기화 FontStretch 하고 채울 수 있도록 형식 FontStretch변환 동작을 지원합니다. 호출하여 올바르게 초기화할 FromOpenTypeStretch수도 있습니다FontStretch.
전체 텍스트 문자열에 대한 글꼴 늘이기 값을 설정하려면 이 메서드를 SetFontStretch(FontStretch) 사용합니다.