Spread for ASP.NET 7.0 Product Documentation
ScaleRule Constructor(ResetOption,Single,Single,Single)
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ScaleRule Class > ScaleRule Constructor : ScaleRule Constructor(ResetOption,Single,Single,Single)


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

Glossary Item Box

Creates a new rule that determines how to scale the printed sheet, with the specified reset option, factors, and intervals.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal resetOption As ResetOption, _
   ByVal startFactor As Single, _
   ByVal endFactor As Single, _
   ByVal interval As Single _
)
Visual Basic (Usage)Copy Code
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)
C# 
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

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.