Overload | Description |
---|---|
DrawFrame(Graphics,Rectangle,SpecialEffectsFrameStyleFlags,Int32,Color,Int32,Color,Color,Int32,Color,Color) | Draws a rectangular frame having the specified style, color, and border width onto the target device context. |
DrawFrame(IntPtr,Rectangle,SpecialEffectsFrameStyleFlags,Int32,Color,Int32,Color,Color,Int32,Color,Color) | Draws a rectangular frame having the specified style, color, and border width onto the target device context. |
This example shows the minimum requirements for using the DrawFrame method to draw a frame with a palette.
Visual Basic | Copy Code |
---|---|
Public Sub DrawFrame(ByVal g As Graphics, ByVal destRect As Rectangle) |
C# | Copy Code |
---|---|
public void DrawFrame(Graphics g, Rectangle destRect) |
For general information, refer to Implementing Special Effects .
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family