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


FarPoint.Win Assembly > FarPoint.Win Namespace > Inset Class > Inset Constructor : 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).
See Also

Reference

Inset Class
Inset Members
Overload List