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