Spread Windows Forms 8.0 Product Documentation
Inset Constructor(Int32,Int32,Int32,Int32)


Number of pixels to inset from the left
Number of pixels to inset from the top
Number of pixels to inset from the right
Number of pixels to inset from the bottom
Creates an object with margins (insets) for all four sides specified.
Syntax
'Declaration
 
Public Function New( _
   ByVal leftInset As Integer, _
   ByVal topInset As Integer, _
   ByVal rightInset As Integer, _
   ByVal bottomInset As Integer _
)
'Usage
 
Dim leftInset As Integer
Dim topInset As Integer
Dim rightInset As Integer
Dim bottomInset As Integer
 
Dim instance As New Inset(leftInset, topInset, rightInset, bottomInset)
public Inset( 
   int leftInset,
   int topInset,
   int rightInset,
   int bottomInset
)

Parameters

leftInset
Number of pixels to inset from the left
topInset
Number of pixels to inset from the top
rightInset
Number of pixels to inset from the right
bottomInset
Number of pixels to inset from the bottom

Return Value

This constructor initializes an Inset object and lets you specify the top, left, right, and bottom margins (insets).
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

Inset Class
Inset Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.