Dundas Chart for Windows Forms
Margins Constructor(Int32,Int32,Int32,Int32)
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Margins Class > Margins Constructor : Margins Constructor(Int32,Int32,Int32,Int32)


top
Top margin.
Top margin.
bottom
Bottom margin.
Bottom margin.
left
Left margin.
Left margin.
right
Right margin.
Right margin.
Public constructor that takes the top, bottom, left and right coordinates of the margin.
Object constructor.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal top As Integer, _
   ByVal bottom As Integer, _
   ByVal left As Integer, _
   ByVal right As Integer _
)
Visual Basic (Usage) Copy Code
Dim top As Integer
Dim bottom As Integer
Dim left As Integer
Dim right As Integer
 
Dim instance As Margins(top, bottom, left, right)
C#  
public Margins( 
   int top,
   int bottom,
   int left,
   int right
)

Parameters

top
Top margin.
Top margin.
bottom
Bottom margin.
Bottom margin.
left
Left margin.
Left margin.
right
Right margin.
Right margin.

Remarks

When used for legend cells the margins are measured as a percentage of the legend's font size.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.