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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2