GrapeCity.Windows.SpreadSheet.Data Namespace > PrintInfo Class : PaperSize Property |
'Declaration Public Property PaperSize As PaperSize
'Usage Dim instance As PrintInfo Dim value As PaperSize instance.PaperSize = value value = instance.PaperSize
public PaperSize PaperSize {get; set;}
// Add a reference to System.Drawing GrapeCity.Windows.SpreadSheet.Data.PrintInfo printset = new GrapeCity.Windows.SpreadSheet.Data.PrintInfo(); printset.PaperSize = new GrapeCity.Windows.SpreadSheet.Data.PaperSize(System.Drawing.Printing.PaperKind.A4); gcSpreadSheet1.Sheets[0].PrintInfo = printset; gcSpreadSheet1.SavePDF("c:\\zipfile\\test.pdf", 0);
' Add a reference to System.Drawing Dim printset As New GrapeCity.Windows.SpreadSheet.Data.PrintInfo() printset.PaperSize = New GrapeCity.Windows.SpreadSheet.Data.PaperSize(System.Drawing.Printing.PaperKind.A4) GcSpreadSheet1.Sheets(0).PrintInfo = printset GcSpreadSheet1.SavePDF("c:\zipfile\test.pdf", 0)
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)