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


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)

Glossary Item Box

Creates a set of margins (insets) with the top and left margin (inset) specified.

Syntax

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)
C# 
public Inset( 
   int xInset,
   int 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)

Remarks

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

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.