다음을 통해 공유


Support.FontChangeName(Font, String) 메서드

정의

주의

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

지정된 Visual Basic 6.0 Font에 대한 새 Font를 반환합니다.

public:
 static System::Drawing::Font ^ FontChangeName(System::Drawing::Font ^ CurrentFont, System::String ^ Name);
public static System.Drawing.Font FontChangeName (System.Drawing.Font CurrentFont, string Name);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static System.Drawing.Font FontChangeName (System.Drawing.Font CurrentFont, string Name);
static member FontChangeName : System.Drawing.Font * string -> System.Drawing.Font
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member FontChangeName : System.Drawing.Font * string -> System.Drawing.Font
Public Function FontChangeName (CurrentFont As Font, Name As String) As Font

매개 변수

CurrentFont
Font

Font

Name
String

Visual Basic 6.0 String 속성을 나타내는 Font입니다.

반환

Visual Basic 6.0 Font와 일치하는 Font입니다.

특성

설명

지정 된 글꼴의 이름을 Visual Basic 6.0에서의 Font 속성; Visual basic에서는 Name 속성인를 Font 개체. 이 함수를 사용 하는 업그레이드 도구에서 변환 Visual Basic 6.0 FontFont합니다.

참고

Visual Basic 6.0에서 Visual Basic 2008으로의 업그레이드 도구에서 사용할 수 있도록 Microsoft.VisualBasic.Compatibility.VB6 네임스페이스의 함수 및 개체가 제공됩니다. 이러한 함수와 개체에서 제공하는 대부분의 기능은 .NET Framework의 다른 네임스페이스에서 얻을 수 있는 기능과 동일하므로 이러한 함수와 개체는 Visual Basic 6.0 코드 모델이 .NET Framework 구현과 크게 다른 경우에만 필요합니다.

적용 대상