Spread Windows Forms 12.0 Product Documentation
SpreadScaleMode Property (SpreadView)

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.
Public Property SpreadScaleMode As ScaleMode
Dim instance As SpreadView
Dim value As ScaleMode
instance.SpreadScaleMode = value
value = instance.SpreadScaleMode
public ScaleMode SpreadScaleMode {get; set;}
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


SpreadView Class
SpreadView Members