PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / Unit Structure / FromObject Method
An object to convert.

In This Topic
    FromObject Method (Unit)
    In This Topic
    Attempts to convert an object to a unit value. This method throws an exception if the conversion cannot be performed.
    Syntax
    'Declaration
     
    Public Shared Function FromObject( _
       ByVal obj As Object _
    ) As Unit
    public static Unit FromObject( 
       object obj
    )

    Parameters

    obj
    An object to convert.

    Return Value

    A unit value representing obj.
    See Also