Spread ASP.NET 6.0 Product Documentation
ScaleRule Constructor(ResetOption,Single,Single,Single)
See Also  Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.