다음을 통해 공유


Font 클래스

글꼴, 크기 및 스타일 특성을 포함하여 텍스트의 특정 형식을 정의합니다. 이 클래스는 상속될 수 없습니다.

네임스페이스: System.Drawing
어셈블리: System.Drawing(system.drawing.dll)

구문

‘선언
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class Font
    Inherits MarshalByRefObject
    Implements ICloneable, ISerializable, IDisposable
‘사용 방법
Dim instance As Font
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public sealed class Font : MarshalByRefObject, ICloneable, ISerializable, IDisposable
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public ref class Font sealed : public MarshalByRefObject, ICloneable, ISerializable, IDisposable
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public final class Font extends MarshalByRefObject implements ICloneable, ISerializable, 
    IDisposable
SerializableAttribute 
ComVisibleAttribute(true) 
public final class Font extends MarshalByRefObject implements ICloneable, ISerializable, 
    IDisposable

설명

Windows Forms 응용 프로그램에서는 트루타입 글꼴을 지원하고 오픈타입 글꼴은 제한적으로 지원합니다. 지원되지 않는 글꼴을 사용하려 하거나 응용 프로그램을 실행하는 컴퓨터에 해당 글꼴이 설치되어 있지 않은 경우 Microsoft Sans Serif가 대신 사용됩니다.

상속 계층 구조

System.Object
   System.MarshalByRefObject
    System.Drawing.Font

스레드로부터의 안전성

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

.NET Compact Framework

2.0, 1.0에서 지원

참고 항목

참조

Font 멤버
System.Drawing 네임스페이스

기타 리소스

글꼴 및 텍스트 사용