PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / Offsets Structure / Offsets Constructor / Offsets Constructor(String,String,String,String)
A string representing the Unit value assigned to the Left property.
A string representing the Unit value assigned to the Top property.
A string representing the Unit value assigned to the Right property.
A string representing the Unit value assigned to the Bottom property.

In This Topic
    Offsets Constructor(String,String,String,String)
    In This Topic
    Initializes a new instance of the Offsets structure, assigning the Left, Top, Right and Bottom values.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal left As String, _
       ByVal top As String, _
       ByVal right As String, _
       ByVal bottom As String _
    )
    public Offsets( 
       string left,
       string top,
       string right,
       string bottom
    )

    Parameters

    left
    A string representing the Unit value assigned to the Left property.
    top
    A string representing the Unit value assigned to the Top property.
    right
    A string representing the Unit value assigned to the Right property.
    bottom
    A string representing the Unit value assigned to the Bottom property.
    Remarks
    Only absolute Unit values (such as "1mm" or "8in") are allowed.
    See Also