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

In This Topic
    Offsets Constructor(String,String,String,String)
    In This Topic
    Initializes a new instance of the Offsets structure, assigning the Offsets.Left, Offsets.Top, Offsets.Right and Offsets.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 Offsets.Left property.
    top
    A string representing the Unit value assigned to the Offsets.Top property.
    right
    A string representing the Unit value assigned to the Offsets.Right property.
    bottom
    A string representing the Unit value assigned to the Offsets.Bottom property.
    Remarks
    Only absolute Unit values (such as "1mm" or "8in") are allowed.
    See Also