Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Margins Class / Margins Constructor / Margins Constructor(Int32,Int32,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.
The header margin, in hundredths of an inch.
The footer margin, in hundredths of an inch.


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

    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.
    header
    The header margin, in hundredths of an inch.
    footer
    The footer margin, in hundredths of an inch.
    See Also