Spread Windows Forms 6.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 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

See Also

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