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

In This Topic
    UnitToXpsPixel Method (XpsC1Doc)
    In This Topic
    Converts a C1.C1Preview.Unit value to XPS pixels using the page resolution (XpsC1Doc.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