Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.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)

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