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

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

    Parameters

    rng
    scaleMode
    pageSize
    See Also