Spread Windows Forms 12.0 Product Documentation
PrintMargin Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PrintMargin Class > PrintMargin Constructor : PrintMargin Constructor()
Creates a new PrintMargin object with margins set to zero.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New PrintMargin()
public PrintMargin()
Example
FarPoint.Win.Spread.PrintInfo pi = new
FarPoint.Win.Spread.PrintInfo();
FarPoint.Win.Spread.PrintMargin pm = new
FarPoint.Win.Spread.PrintMargin();
pm.Left = 75;
pm.Right = 75;
pm.Top = 50;
pm.Bottom = 50;
pm.Footer = 50;
pm.Header = 50;
pi.Margin = pm;
fpSpread1.ActiveSheet.PrintInfo = pi;
Dim pi As New FarPoint.Win.Spread.PrintInfo
Dim pm As New FarPoint.Win.Spread.PrintMargin
pm.Left = 75
pm.Right = 75
pm.Top = 50
pm.Bottom = 50
pm.Footer = 50
pm.Header = 50
pi.Margin = pm
FpSpread1.ActiveSheet.PrintInfo = pi
See Also

Reference

PrintMargin Class
PrintMargin Members
Overload List