ControlPaint.DrawBorder3D メソッド (Graphics, Rectangle, Border3DStyle, Border3DSide)
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Public Shared Sub DrawBorder3D ( _ graphics As Graphics, _ rectangle As Rectangle, _ style As Border3DStyle, _ sides As Border3DSide _ )
Dim graphics As Graphics Dim rectangle As Rectangle Dim style As Border3DStyle Dim sides As Border3DSide ControlPaint.DrawBorder3D(graphics, rectangle, style, sides)
public static void DrawBorder3D ( Graphics graphics, Rectangle rectangle, Border3DStyle style, Border3DSide sides )
public: static void DrawBorder3D ( Graphics^ graphics, Rectangle rectangle, Border3DStyle style, Border3DSide sides )
public static void DrawBorder3D ( Graphics graphics, Rectangle rectangle, Border3DStyle style, Border3DSide sides )
public static function DrawBorder3D ( graphics : Graphics, rectangle : Rectangle, style : Border3DStyle, sides : Border3DSide )

DrawBorder3D メソッドの中の 1 つを使用する方法を次のコード例に示します。この例を実行するには、System.Windows.Forms 名前空間および System.Drawing 名前空間がインポートされているフォームに、このコードを貼り付けます。フォームの Paint イベントを、この例のイベント ハンドラに必ず関連付けるようにしてください。
' Handle the Form's Paint event to draw a 3D three-dimensional ' raised border just inside the border of the frame. Private Sub Form1_Paint(ByVal sender As Object, _ ByVal e As PaintEventArgs) Handles MyBase.Paint Dim borderRectangle As Rectangle = Me.ClientRectangle borderRectangle.Inflate(-10, -10) ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, _ Border3DStyle.Raised) End Sub
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(object sender, PaintEventArgs e) { Rectangle borderRectangle = this.ClientRectangle; borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, Border3DStyle.Raised); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. void Form1_Paint( Object^ /*sender*/, PaintEventArgs^ e ) { Rectangle borderRectangle = this->ClientRectangle; borderRectangle.Inflate( -10, -10 ); ControlPaint::DrawBorder3D( e->Graphics, borderRectangle, Border3DStyle::Raised ); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(Object sender, PaintEventArgs e) { Rectangle borderRectangle = this.get_ClientRectangle(); borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.get_Graphics(), borderRectangle, Border3DStyle.Raised); } //Form1_Paint

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


ControlPaint.DrawBorder3D メソッド (Graphics, Int32, Int32, Int32, Int32, Border3DStyle, Border3DSide)
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Public Shared Sub DrawBorder3D ( _ graphics As Graphics, _ x As Integer, _ y As Integer, _ width As Integer, _ height As Integer, _ style As Border3DStyle, _ sides As Border3DSide _ )
Dim graphics As Graphics Dim x As Integer Dim y As Integer Dim width As Integer Dim height As Integer Dim style As Border3DStyle Dim sides As Border3DSide ControlPaint.DrawBorder3D(graphics, x, y, width, height, style, sides)
public static void DrawBorder3D ( Graphics graphics, int x, int y, int width, int height, Border3DStyle style, Border3DSide sides )
public: static void DrawBorder3D ( Graphics^ graphics, int x, int y, int width, int height, Border3DStyle style, Border3DSide sides )
public static void DrawBorder3D ( Graphics graphics, int x, int y, int width, int height, Border3DStyle style, Border3DSide sides )
public static function DrawBorder3D ( graphics : Graphics, x : int, y : int, width : int, height : int, style : Border3DStyle, sides : Border3DSide )

DrawBorder3D メソッドの中の 1 つを使用する方法を次のコード例に示します。この例を実行するには、System.Windows.Forms 名前空間および System.Drawing 名前空間がインポートされているフォームに、このコードを貼り付けます。フォームの Paint イベントを、この例のイベント ハンドラに必ず関連付けるようにしてください。
' Handle the Form's Paint event to draw a 3D three-dimensional ' raised border just inside the border of the frame. Private Sub Form1_Paint(ByVal sender As Object, _ ByVal e As PaintEventArgs) Handles MyBase.Paint Dim borderRectangle As Rectangle = Me.ClientRectangle borderRectangle.Inflate(-10, -10) ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, _ Border3DStyle.Raised) End Sub
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(object sender, PaintEventArgs e) { Rectangle borderRectangle = this.ClientRectangle; borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, Border3DStyle.Raised); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. void Form1_Paint( Object^ /*sender*/, PaintEventArgs^ e ) { Rectangle borderRectangle = this->ClientRectangle; borderRectangle.Inflate( -10, -10 ); ControlPaint::DrawBorder3D( e->Graphics, borderRectangle, Border3DStyle::Raised ); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(Object sender, PaintEventArgs e) { Rectangle borderRectangle = this.get_ClientRectangle(); borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.get_Graphics(), borderRectangle, Border3DStyle.Raised); } //Form1_Paint

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


ControlPaint.DrawBorder3D メソッド

名前 | 説明 |
---|---|
ControlPaint.DrawBorder3D (Graphics, Rectangle) | コントロールの 3D スタイルの輪郭を、指定したグラフィックスの表面の指定した範囲内に描画します。 |
ControlPaint.DrawBorder3D (Graphics, Rectangle, Border3DStyle) | コントロールの 3D スタイルの輪郭を、指定したスタイルを使用して、指定した範囲内の指定したグラフィックスの表面に描画します。 |
ControlPaint.DrawBorder3D (Graphics, Rectangle, Border3DStyle, Border3DSide) | コントロールの 3D スタイルの輪郭を、指定したスタイルを使用して、指定したグラフィックスの表面と側面の指定した範囲内に描画します。 |
ControlPaint.DrawBorder3D (Graphics, Int32, Int32, Int32, Int32) | コントロールの 3D スタイルの輪郭を、指定したグラフィックスの表面の指定した範囲内に描画します。 |
ControlPaint.DrawBorder3D (Graphics, Int32, Int32, Int32, Int32, Border3DStyle) | コントロールの 3D スタイルの輪郭を、指定したスタイルを使用して、指定した範囲内の指定したグラフィックスの表面に描画します。 |
ControlPaint.DrawBorder3D (Graphics, Int32, Int32, Int32, Int32, Border3DStyle, Border3DSide) | コントロールの 3D スタイルの輪郭を、指定したスタイルを使用して、指定したグラフィックスの表面と側面の指定した範囲内に描画します。 |

ControlPaint.DrawBorder3D メソッド (Graphics, Int32, Int32, Int32, Int32)
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Public Shared Sub DrawBorder3D ( _ graphics As Graphics, _ x As Integer, _ y As Integer, _ width As Integer, _ height As Integer _ )
Dim graphics As Graphics Dim x As Integer Dim y As Integer Dim width As Integer Dim height As Integer ControlPaint.DrawBorder3D(graphics, x, y, width, height)
public static function DrawBorder3D ( graphics : Graphics, x : int, y : int, width : int, height : int )


DrawBorder3D メソッドの中の 1 つを使用する方法を次のコード例に示します。この例を実行するには、System.Windows.Forms 名前空間および System.Drawing 名前空間がインポートされているフォームに、このコードを貼り付けます。フォームの Paint イベントを、この例のイベント ハンドラに必ず関連付けるようにしてください。
' Handle the Form's Paint event to draw a 3D three-dimensional ' raised border just inside the border of the frame. Private Sub Form1_Paint(ByVal sender As Object, _ ByVal e As PaintEventArgs) Handles MyBase.Paint Dim borderRectangle As Rectangle = Me.ClientRectangle borderRectangle.Inflate(-10, -10) ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, _ Border3DStyle.Raised) End Sub
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(object sender, PaintEventArgs e) { Rectangle borderRectangle = this.ClientRectangle; borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, Border3DStyle.Raised); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. void Form1_Paint( Object^ /*sender*/, PaintEventArgs^ e ) { Rectangle borderRectangle = this->ClientRectangle; borderRectangle.Inflate( -10, -10 ); ControlPaint::DrawBorder3D( e->Graphics, borderRectangle, Border3DStyle::Raised ); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(Object sender, PaintEventArgs e) { Rectangle borderRectangle = this.get_ClientRectangle(); borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.get_Graphics(), borderRectangle, Border3DStyle.Raised); } //Form1_Paint

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


ControlPaint.DrawBorder3D メソッド (Graphics, Rectangle, Border3DStyle)
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Public Shared Sub DrawBorder3D ( _ graphics As Graphics, _ rectangle As Rectangle, _ style As Border3DStyle _ )
Dim graphics As Graphics Dim rectangle As Rectangle Dim style As Border3DStyle ControlPaint.DrawBorder3D(graphics, rectangle, style)
public static function DrawBorder3D ( graphics : Graphics, rectangle : Rectangle, style : Border3DStyle )

DrawBorder3D メソッドの中の 1 つを使用する方法を次のコード例に示します。この例を実行するには、System.Windows.Forms 名前空間および System.Drawing 名前空間がインポートされているフォームに、このコードを貼り付けます。フォームの Paint イベントを、この例のイベント ハンドラに必ず関連付けるようにしてください。
' Handle the Form's Paint event to draw a 3D three-dimensional ' raised border just inside the border of the frame. Private Sub Form1_Paint(ByVal sender As Object, _ ByVal e As PaintEventArgs) Handles MyBase.Paint Dim borderRectangle As Rectangle = Me.ClientRectangle borderRectangle.Inflate(-10, -10) ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, _ Border3DStyle.Raised) End Sub
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(object sender, PaintEventArgs e) { Rectangle borderRectangle = this.ClientRectangle; borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, Border3DStyle.Raised); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. void Form1_Paint( Object^ /*sender*/, PaintEventArgs^ e ) { Rectangle borderRectangle = this->ClientRectangle; borderRectangle.Inflate( -10, -10 ); ControlPaint::DrawBorder3D( e->Graphics, borderRectangle, Border3DStyle::Raised ); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(Object sender, PaintEventArgs e) { Rectangle borderRectangle = this.get_ClientRectangle(); borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.get_Graphics(), borderRectangle, Border3DStyle.Raised); } //Form1_Paint

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


ControlPaint.DrawBorder3D メソッド (Graphics, Int32, Int32, Int32, Int32, Border3DStyle)
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Public Shared Sub DrawBorder3D ( _ graphics As Graphics, _ x As Integer, _ y As Integer, _ width As Integer, _ height As Integer, _ style As Border3DStyle _ )
Dim graphics As Graphics Dim x As Integer Dim y As Integer Dim width As Integer Dim height As Integer Dim style As Border3DStyle ControlPaint.DrawBorder3D(graphics, x, y, width, height, style)
public static void DrawBorder3D ( Graphics graphics, int x, int y, int width, int height, Border3DStyle style )
public: static void DrawBorder3D ( Graphics^ graphics, int x, int y, int width, int height, Border3DStyle style )
public static void DrawBorder3D ( Graphics graphics, int x, int y, int width, int height, Border3DStyle style )
public static function DrawBorder3D ( graphics : Graphics, x : int, y : int, width : int, height : int, style : Border3DStyle )

DrawBorder3D メソッドの中の 1 つを使用する方法を次のコード例に示します。この例を実行するには、System.Windows.Forms 名前空間および System.Drawing 名前空間がインポートされているフォームに、このコードを貼り付けます。フォームの Paint イベントを、この例のイベント ハンドラに必ず関連付けるようにしてください。
' Handle the Form's Paint event to draw a 3D three-dimensional ' raised border just inside the border of the frame. Private Sub Form1_Paint(ByVal sender As Object, _ ByVal e As PaintEventArgs) Handles MyBase.Paint Dim borderRectangle As Rectangle = Me.ClientRectangle borderRectangle.Inflate(-10, -10) ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, _ Border3DStyle.Raised) End Sub
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(object sender, PaintEventArgs e) { Rectangle borderRectangle = this.ClientRectangle; borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, Border3DStyle.Raised); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. void Form1_Paint( Object^ /*sender*/, PaintEventArgs^ e ) { Rectangle borderRectangle = this->ClientRectangle; borderRectangle.Inflate( -10, -10 ); ControlPaint::DrawBorder3D( e->Graphics, borderRectangle, Border3DStyle::Raised ); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(Object sender, PaintEventArgs e) { Rectangle borderRectangle = this.get_ClientRectangle(); borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.get_Graphics(), borderRectangle, Border3DStyle.Raised); } //Form1_Paint

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


ControlPaint.DrawBorder3D メソッド (Graphics, Rectangle)
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)



DrawBorder3D メソッドの中の 1 つを使用する方法を次のコード例に示します。この例を実行するには、System.Windows.Forms 名前空間および System.Drawing 名前空間がインポートされているフォームに、このコードを貼り付けます。フォームの Paint イベントを、この例のイベント ハンドラに必ず関連付けるようにしてください。
' Handle the Form's Paint event to draw a 3D three-dimensional ' raised border just inside the border of the frame. Private Sub Form1_Paint(ByVal sender As Object, _ ByVal e As PaintEventArgs) Handles MyBase.Paint Dim borderRectangle As Rectangle = Me.ClientRectangle borderRectangle.Inflate(-10, -10) ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, _ Border3DStyle.Raised) End Sub
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(object sender, PaintEventArgs e) { Rectangle borderRectangle = this.ClientRectangle; borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.Graphics, borderRectangle, Border3DStyle.Raised); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. void Form1_Paint( Object^ /*sender*/, PaintEventArgs^ e ) { Rectangle borderRectangle = this->ClientRectangle; borderRectangle.Inflate( -10, -10 ); ControlPaint::DrawBorder3D( e->Graphics, borderRectangle, Border3DStyle::Raised ); }
// Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(Object sender, PaintEventArgs e) { Rectangle borderRectangle = this.get_ClientRectangle(); borderRectangle.Inflate(-10, -10); ControlPaint.DrawBorder3D(e.get_Graphics(), borderRectangle, Border3DStyle.Raised); } //Form1_Paint

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に収録されているすべての辞書からControlPaint.DrawBorder3Dを検索する場合は、下記のリンクをクリックしてください。

- ControlPaint.DrawBorder3Dのページへのリンク