Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Margins Class / Margins Constructor / Margins Constructor(Int32,Int32,Int32,Int32)
The top margin, in hundredths of an inch.
The bottom margin, in hundredths of an inch.
The left margin, in hundredths of an inch.
The right margin, in hundredths of an inch.


In This Topic
    Margins Constructor(Int32,Int32,Int32,Int32)
    In This Topic
    Creates new margin settings, using the specified settings for the top, bottom, left, and right margins.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal top As Integer, _
       ByVal bottom As Integer, _
       ByVal left As Integer, _
       ByVal right As Integer _
    )
    'Usage
     
    Dim top As Integer
    Dim bottom As Integer
    Dim left As Integer
    Dim right As Integer
     
    Dim instance As New Margins(top, bottom, left, right)
    public Margins( 
       int top,
       int bottom,
       int left,
       int right
    )

    Parameters

    top
    The top margin, in hundredths of an inch.
    bottom
    The bottom margin, in hundredths of an inch.
    left
    The left margin, in hundredths of an inch.
    right
    The right margin, in hundredths of an inch.
    See Also