PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview.Export.Xps Namespace / XpsC1Doc Class / UnitToXpsPixel Method
The unit value to convert

In This Topic
    UnitToXpsPixel Method
    In This Topic
    Converts a C1.C1Preview.Unit value to XPS pixels using the page resolution (XpsDpi).
    Syntax
    'Declaration
     
    Public Function UnitToXpsPixel( _
       ByVal unit As Unit _
    ) As Double
    public double UnitToXpsPixel( 
       Unit unit
    )

    Parameters

    unit
    The unit value to convert

    Return Value

    The converted value.
    See Also