| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal type As BevelBorderType _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim type As BevelBorderType Dim instance As New BevelBorder(type)  | |
| C# | |
|---|---|
public BevelBorder( BevelBorderType type )  | |
Parameters
- type
 - Type of beveled border
 
Use the BevelBorderType enumeration to specify the type.
            
            This example creates a bevel border.
             
            
            | C# |  Copy Code | 
|---|---|
FarPoint.Win.BevelBorder bevel = new FarPoint.Win.BevelBorder(BevelBorderType.Lowered); | |
| Visual Basic |  Copy Code | 
|---|---|
Dim bevel as New FarPoint.Win.BevelBorder(BevelBorderType.Lowered)  | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8