Support.FontChangeSize(Font, Single) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
フォントの Size プロパティを変更します。
public:
static System::Drawing::Font ^ FontChangeSize(System::Drawing::Font ^ CurrentFont, float Size);
public static System.Drawing.Font FontChangeSize(System.Drawing.Font CurrentFont, float Size);
[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 FontChangeSize(System.Drawing.Font CurrentFont, float Size);
static member FontChangeSize : System.Drawing.Font * single -> 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 FontChangeSize : System.Drawing.Font * single -> System.Drawing.Font
Public Function FontChangeSize (CurrentFont As Font, Size As Single) As Font
パラメーター
返品
Visual Basic 6.0 FontSize と一致するFont。
- 属性
注釈
Visual Basic 6.0 では、フォントのサイズは FontSize プロパティで指定されました。Visual Basicでは、Size は Font オブジェクトのプロパティです。 この関数は、Visual Basic 6.0 Font を Font に変換するためにアップグレード ツールによって使用されます。
Note
Microsoft.VisualBasic.Compatibility.VB6 名前空間の関数とオブジェクトは、Visual Basic 6.0 から Visual Basic 2008 にアップグレードするためのツールで使用するために提供されています。 ほとんどの場合、これらの関数とオブジェクトは、.NET Framework の他の名前空間で見つけることができる機能を複製します。 これらは、Visual Basic 6.0 コード モデルが .NET Framework の実装と大きく異なる場合にのみ必要です。