FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / C1FlexGrid Class / GetZoom Method

In This Topic
    GetZoom Method (C1FlexGrid)
    In This Topic
    Calculates the zoom factor to use based on the size of the range to print, scale mode, and page size.
    Syntax
    'Declaration
     
    Protected Function GetZoom( _
       ByVal rng As CellRange, _
       ByVal scaleMode As ScaleMode, _
       ByVal pageSize As Size _
    ) As Double
    protected double GetZoom( 
       CellRange rng,
       ScaleMode scaleMode,
       Size pageSize
    )

    Parameters

    rng
    scaleMode
    pageSize
    See Also