| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal xInset As Integer, _ ByVal yInset As Integer _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim xInset As Integer Dim yInset As Integer Dim instance As New Inset(xInset, yInset)  | |
Parameters
- xInset
 - Number of pixels to inset from the left (along the x-axis)
 - yInset
 - Number of pixels to inset from the top (along the y-axis)
 
This constructor initializes an Inset object and lets you specify the top and left margins (insets).
            
            
            
            
            Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8