Spread Windows Forms 11.0 Product Documentation
SpreadScaleMode Property (SpreadView)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : SpreadScaleMode Property
Gets or sets whether Spread controls automatic scaling with a different system dpi; Spread only supports one dimension so the application should use AutoScaleMode.Dpi for correct scaling, or else scale using the application width.
Syntax
'Declaration
 
Public Property SpreadScaleMode As ScaleMode
'Usage
 
Dim instance As SpreadView
Dim value As ScaleMode
 
instance.SpreadScaleMode = value
 
value = instance.SpreadScaleMode
public ScaleMode SpreadScaleMode {get; set;}
Example
This example uses the SpreadScaleMode property.
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
sv.SpreadScaleMode = FarPoint.Win.Spread.ScaleMode.ZoomDpiSupport;
Dim sv As FarPoint.Win.Spread.SpreadView = fpSpread1.GetRootWorkbook()
sv.SpreadScaleMode = FarPoint.Win.Spread.ScaleMode.ZoomDpiSupport
See Also

Reference

SpreadView Class
SpreadView Members