PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / Offsets Structure / Offsets Constructor / Offsets Constructor(Unit)
A Unit value assigned to all four offsets.

In This Topic
    Offsets Constructor(Unit)
    In This Topic
    Initializes a new instance of the Offsets structure, assigning a single value to all four offset properties.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal all As Unit _
    )
    public Offsets( 
       Unit all
    )

    Parameters

    all
    A Unit value assigned to all four offsets.
    Remarks
    Only absolute Unit values (such as "1mm" or "8in") are allowed.
    See Also