Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ScaleRule Class / ScaleRule Constructor / ScaleRule Constructor(ResetOption,Single,Single,Single)
Whether to reset the rules or a particular rule
Zoom factor at which to begin testing
Zoom factor at which to stop testing
Amount by which to decrement the zoom factor between scale tests


In This Topic
    ScaleRule Constructor(ResetOption,Single,Single,Single)
    In This Topic
    Creates a new rule that determines how to scale the printed sheet, with the specified reset option, factors, and intervals.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal resetOption As ResetOption, _
       ByVal startFactor As Single, _
       ByVal endFactor As Single, _
       ByVal interval As Single _
    )
    'Usage
     
    Dim resetOption As ResetOption
    Dim startFactor As Single
    Dim endFactor As Single
    Dim interval As Single
     
    Dim instance As New ScaleRule(resetOption, startFactor, endFactor, interval)
    public ScaleRule( 
       ResetOption resetOption,
       float startFactor,
       float endFactor,
       float interval
    )

    Parameters

    resetOption
    Whether to reset the rules or a particular rule
    startFactor
    Zoom factor at which to begin testing
    endFactor
    Zoom factor at which to stop testing
    interval
    Amount by which to decrement the zoom factor between scale tests
    See Also