|
이 문서는 기계로 번역한 것입니다. 원본 텍스트를 보려면 포인터를 문서의 문장 위로 올리십시오. 추가 정보
|
번역
원본
|
FontFamily.GetCellDescent 메서드
.NET Framework 4.5
네임스페이스: System.Drawing
어셈블리: System.Drawing(System.Drawing.dll)
매개 변수
- style
- 형식: System.Drawing.FontStyle
글꼴의 스타일 정보를 포함하는 FontStyle입니다.
FontFamily 를 만듭니다. 해당 글꼴 패밀리의 셀 하강을 가져옵니다. 셀 하강 값을 텍스트로 화면에 그립니다.
public void GetCellDescent_Example(PaintEventArgs e) { // Create a FontFamily object. FontFamily descentFontFamily = new FontFamily("arial"); // Get the cell descent of the font family in design units. int cellDescent = descentFontFamily.GetCellDescent(FontStyle.Regular); // Draw the result as a string to the screen. e.Graphics.DrawString( "descentFontFamily.GetCellDescent() returns " + cellDescent.ToString() + ".", new Font(descentFontFamily, 16), Brushes.Black, new PointF(0, 0)); }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008(서버 코어 역할은 지원되지 않음), Windows Server 2008 R2(서버 코어 역할은 SP1 이상에서 지원, Itanium은 지원되지 않음)
.NET Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.