Spread for ASP.NET 12 Product Documentation
ScaleRule Constructor(ResetOption,Single,Single,Single)


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
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

Reference

ScaleRule Class
ScaleRule Members
Overload List