Spread for ASP.NET 11 Product Documentation
PrintInfo Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : PrintInfo Property
Gets or sets a PrintInfo object that determines printing behavior for the sheet.
Syntax
'Declaration
 
Public Property PrintInfo As PrintInfo
'Usage
 
Dim instance As SheetView
Dim value As PrintInfo
 
instance.PrintInfo = value
 
value = instance.PrintInfo
public PrintInfo PrintInfo {get; set;}
Example
This example uses the PrintInfo property.
FarPoint.Web.Spread.SheetView first = FpSpread1.ActiveSheetView;
FarPoint.Web.Spread.PrintInfo pi = new FarPoint.Web.Spread.PrintInfo();
pi.Orientation = FarPoint.Web.Spread.PrintOrientation.Landscape;
first.PrintInfo = pi;
FpSpread1.SavePdf("c:\\test.pdf");
Dim first As FarPoint.Web.Spread.SheetView
first = FpSpread1.ActiveSheetView
Dim pi As New FarPoint.Web.Spread.PrintInfo()
pi.Orientation = FarPoint.Web.Spread.PrintOrientation.Landscape
first.PrintInfo = pi
FpSpread1.SavePdf("c:\test.pdf")
See Also

Reference

SheetView Class
SheetView Members