Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl Namespace / ReportSize Class / ToPixels Method
The target resolution (pixels per inch).

In This Topic
    ToPixels Method
    In This Topic
    Converts the current size to pixels.
    Syntax
    'Declaration
     
    Public Function ToPixels( _
       ByVal dpi As Single _
    ) As Integer
    public int ToPixels( 
       float dpi
    )

    Parameters

    dpi
    The target resolution (pixels per inch).

    Return Value

    The value of the current size in pixels.
    See Also