Spread Windows Forms 12.0 Product Documentation
SpreadScaleMode Property (FpSpread)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread 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 scaling uses the application width.
Syntax
'Declaration
 
Public Property SpreadScaleMode As ScaleMode
'Usage
 
Dim instance As FpSpread
Dim value As ScaleMode
 
instance.SpreadScaleMode = value
 
value = instance.SpreadScaleMode
public ScaleMode SpreadScaleMode {get; set;}
Example
This example uses the SpreadScaleMode property.
SuspendLayout();
AutoScaleDimensions = new System.Drawing.SizeF(96.0F, 96.0F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
fpSpread1.Location = new System.Drawing.Point(23, 86);
fpSpread1.Size = new System.Drawing.Size(356, 161);
fpSpread1.SpreadScaleMode = FarPoint.Win.Spread.ScaleMode.ZoomDpiSupport;
ResumeLayout();
SuspendLayout()
AutoScaleDimensions = New System.Drawing.SizeF(96.0F, 96.0F)
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi
FpSpread1.Location = New System.Drawing.Point(23, 86)
FpSpread1.Size = New System.Drawing.Size(356, 161)
FpSpread1.SpreadScaleMode = FarPoint.Win.Spread.ScaleMode.ZoomDpiSupport
ResumeLayout()
See Also

Reference

FpSpread Class
FpSpread Members