Support.FontChangeUnderline(Font, Boolean) 메서드

정의

주의

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

글꼴의 Underline 스타일 비트를 변경합니다.

public:
 static System::Drawing::Font ^ FontChangeUnderline(System::Drawing::Font ^ CurrentFont, bool Underline);
public static System.Drawing.Font FontChangeUnderline(System.Drawing.Font CurrentFont, bool Underline);
[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 FontChangeUnderline(System.Drawing.Font CurrentFont, bool Underline);
static member FontChangeUnderline : System.Drawing.Font * bool -> 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 FontChangeUnderline : System.Drawing.Font * bool -> System.Drawing.Font
Public Function FontChangeUnderline (CurrentFont As Font, Underline As Boolean) As Font

매개 변수

CurrentFont
Font

Font.

Underline
Boolean

true 스타일 비트를 설정하려면 이 Underline 고, 그렇지 않으면 false입니다.

반품

새 스타일이 적용된 A Font 입니다.

특성

설명

Visual Basic 6.0에서는 속성을 설정하여 글꼴 스타일을 적용했습니다. Visual Basic 글꼴 스타일은 FontStyle 열거형을 사용하여 적용됩니다. 이 함수는 업그레이드 도구에서 Visual Basic 6.0 속성을 새 열거형으로 변환하는 데 사용됩니다.

메모

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

적용 대상