FontFamily 생성자

정의

지정된 이름을 사용하는 새 FontFamily를 초기화합니다.

오버로드

FontFamily(GenericFontFamilies)

지정된 일반 글꼴 패밀리에서 새 FontFamily를 초기화합니다.

FontFamily(String)

지정된 이름을 사용하여 새 FontFamily를 초기화합니다.

FontFamily(String, FontCollection)

지정된 이름을 사용하여 지정된 FontFamily에서 새 FontCollection를 초기화합니다.

FontFamily(GenericFontFamilies)

Source:
FontFamily.cs
Source:
FontFamily.cs
Source:
FontFamily.cs

지정된 일반 글꼴 패밀리에서 새 FontFamily를 초기화합니다.

public:
 FontFamily(System::Drawing::Text::GenericFontFamilies genericFamily);
public FontFamily (System.Drawing.Text.GenericFontFamilies genericFamily);
new System.Drawing.FontFamily : System.Drawing.Text.GenericFontFamilies -> System.Drawing.FontFamily
Public Sub New (genericFamily As GenericFontFamilies)

매개 변수

genericFamily
GenericFontFamilies

GenericFontFamilies을 만들 FontFamily입니다.

적용 대상

FontFamily(String)

Source:
FontFamily.cs
Source:
FontFamily.cs
Source:
FontFamily.cs

지정된 이름을 사용하여 새 FontFamily를 초기화합니다.

public:
 FontFamily(System::String ^ name);
public FontFamily (string name);
new System.Drawing.FontFamily : string -> System.Drawing.FontFamily
Public Sub New (name As String)

매개 변수

name
String

FontFamily의 이름입니다.

예외

name가 빈 문자열("")인 경우

또는

name은 애플리케이션을 실행하는 컴퓨터에 설치되지 않은 글꼴을 지정합니다.

또는

name은 트루타입 글꼴이 아닌 글꼴을 지정합니다.

설명

매개 변수에 대해 빈 문자열("")을 전달하면 name 예외가 발생합니다.

적용 대상

FontFamily(String, FontCollection)

Source:
FontFamily.cs
Source:
FontFamily.cs
Source:
FontFamily.cs

지정된 이름을 사용하여 지정된 FontFamily에서 새 FontCollection를 초기화합니다.

public:
 FontFamily(System::String ^ name, System::Drawing::Text::FontCollection ^ fontCollection);
public FontFamily (string name, System.Drawing.Text.FontCollection fontCollection);
public FontFamily (string name, System.Drawing.Text.FontCollection? fontCollection);
new System.Drawing.FontFamily : string * System.Drawing.Text.FontCollection -> System.Drawing.FontFamily
Public Sub New (name As String, fontCollection As FontCollection)

매개 변수

name
String

String의 이름을 나타내는 FontFamily입니다.

fontCollection
FontCollection

FontCollection를 포함하는 FontFamily입니다.

예외

name가 빈 문자열("")인 경우

또는

name은 애플리케이션을 실행하는 컴퓨터에 설치되지 않은 글꼴을 지정합니다.

또는

name은 트루타입 글꼴이 아닌 글꼴을 지정합니다.

적용 대상