Spread for ASP.NET 9.0 Product Documentation
Right Property (PrintMargin)
Example 


Gets or sets the right margin for the printed page.
Syntax
'Declaration
 
Public Property Right As Integer
'Usage
 
Dim instance As PrintMargin
Dim value As Integer
 
instance.Right = value
 
value = instance.Right
public int Right {get; set;}
Example
This example sets the margins for printing.
FarPoint.Web.Spread.PrintMargin m = new FarPoint.Web.Spread.PrintMargin();
m.Bottom = 10;
m.Footer = 10;
m.Header = 10;
m.Left = 10;
m.Right = 10;
m.Top = 10;
FarPoint.Web.Spread.PrintInfo pi = new FarPoint.Web.Spread.PrintInfo();
pi.Margin = m;
FpSpread1.ActiveSheetView.PrintInfo = pi;
Dim m As New FarPoint.Web.Spread.PrintMargin
m.Bottom = 10
m.Footer = 10
m.Header = 10
m.Left = 10
m.Right = 10
m.Top = 10
Dim pi As New FarPoint.Web.Spread.PrintInfo
pi.Margin = m
FpSpread1.ActiveSheetView.PrintInfo = pi
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

PrintMargin Class
PrintMargin Members

 

 


Copyright © GrapeCity, inc. All rights reserved.