Spread Windows Forms 7.0 Product Documentation
Inset Constructor(Int32,Int32,Int32,Int32)
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > Inset Class > Inset Constructor : Inset Constructor(Int32,Int32,Int32,Int32)


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

Glossary Item Box

Creates an object with margins (insets) for all four sides specified.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal leftInset As Integer, _
   ByVal topInset As Integer, _
   ByVal rightInset As Integer, _
   ByVal bottomInset As Integer _
)
Visual Basic (Usage)Copy Code
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)
C# 
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

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.