Label.SetBoundsCore メソッド
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Protected Overrides Sub SetBoundsCore ( _ x As Integer, _ y As Integer, _ width As Integer, _ height As Integer, _ specified As BoundsSpecified _ )
Dim x As Integer Dim y As Integer Dim width As Integer Dim height As Integer Dim specified As BoundsSpecified Me.SetBoundsCore(x, y, width, height, specified)
protected override void SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified )
protected: virtual void SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) override
protected override function SetBoundsCore ( x : int, y : int, width : int, height : int, specified : BoundsSpecified )

SetBoundsCore プロパティを true に設定すると、ラベルの内容に合わせてラベルのサイズが変更されます。SetBoundsCore メソッドを呼び出した後に AutoSize を false に設定すると、メソッドの呼び出しで指定した寸法がラベルに渡されます。

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からLabel.SetBoundsCore メソッドを検索する場合は、下記のリンクをクリックしてください。

- Label.SetBoundsCore メソッドのページへのリンク