Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Inset Class / Inset Constructor / Inset Constructor(Double,Double,Double,Double,UnitType,UnitType,UnitType,UnitType)
The left inset.
The top inset.
The right inset.
The bottom inset.
The unit of measure for the left inset.
The unit of measure for the top inset.
The unit of measure for the right inset.
The unit of measure for the bottom inset.


In This Topic
    Inset Constructor(Double,Double,Double,Double,UnitType,UnitType,UnitType,UnitType)
    In This Topic
    Creates an inset with the four specified sides and the specified units for each side.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal leftInset As Double, _
       ByVal topInset As Double, _
       ByVal rightInset As Double, _
       ByVal bottomInset As Double, _
       ByVal unitTypeLeft As UnitType, _
       ByVal unitTypeTop As UnitType, _
       ByVal unitTypeRight As UnitType, _
       ByVal unitTypeBottom As UnitType _
    )
    'Usage
     
    Dim leftInset As Double
    Dim topInset As Double
    Dim rightInset As Double
    Dim bottomInset As Double
    Dim unitTypeLeft As UnitType
    Dim unitTypeTop As UnitType
    Dim unitTypeRight As UnitType
    Dim unitTypeBottom As UnitType
     
    Dim instance As New Inset(leftInset, topInset, rightInset, bottomInset, unitTypeLeft, unitTypeTop, unitTypeRight, unitTypeBottom)

    Parameters

    leftInset
    The left inset.
    topInset
    The top inset.
    rightInset
    The right inset.
    bottomInset
    The bottom inset.
    unitTypeLeft
    The unit of measure for the left inset.
    unitTypeTop
    The unit of measure for the top inset.
    unitTypeRight
    The unit of measure for the right inset.
    unitTypeBottom
    The unit of measure for the bottom inset.
    See Also