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

In This Topic
    FromObject Method
    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