FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PrintInfo Class > PrintInfo Constructor : PrintInfo Constructor(String,String,String,PrintMargin,PrintOrientation,PrintPageOrder,Boolean,PrintHeader,Boolean,Boolean,PrintHeader,Boolean,Boolean,PrintType,Int32,Int32,Int32,Int32,Int32,Int32,Boolean,SmartPrintRulesCollection,Boolean,Boolean,Boolean,String,Int32,Boolean,String,Single,Int32,PrintNotes,PaperSource,PaperSize,Boolean,Image[],Color[],Int32,Int32,Int32,Int32,Centering,Int32,Int32,Int32,Int32,Boolean,String,Stream,PdfWriteMode,PdfWriteTo) |
'Declaration Public Function New( _ ByVal header As String, _ ByVal footer As String, _ ByVal jobName As String, _ ByVal margin As PrintMargin, _ ByVal orientation As PrintOrientation, _ ByVal pageOrder As PrintPageOrder, _ ByVal border As Boolean, _ ByVal colHeaders As PrintHeader, _ ByVal color As Boolean, _ ByVal grid As Boolean, _ ByVal rowHeaders As PrintHeader, _ ByVal showShadows As Boolean, _ ByVal useMax As Boolean, _ ByVal type As PrintType, _ ByVal colStart As Integer, _ ByVal colEnd As Integer, _ ByVal rowStart As Integer, _ ByVal rowEnd As Integer, _ ByVal pageStart As Integer, _ ByVal pageEnd As Integer, _ ByVal useSmartPrint As Boolean, _ ByVal rules As SmartPrintRulesCollection, _ ByVal bestFitCols As Boolean, _ ByVal bestFitRows As Boolean, _ ByVal preview As Boolean, _ ByVal printer As String, _ ByVal firstPageNum As Integer, _ ByVal showDialog As Boolean, _ ByVal abortMessage As String, _ ByVal zoomFactor As Single, _ ByVal opacity As Integer, _ ByVal notes As PrintNotes, _ ByVal paperSrc As PaperSource, _ ByVal paperSz As PaperSize, _ ByVal objects As Boolean, _ ByVal imgList() As Image, _ ByVal colorList() As Color, _ ByVal repeatColStart As Integer, _ ByVal repeatColEnd As Integer, _ ByVal repeatRowStart As Integer, _ ByVal repeatRowEnd As Integer, _ ByVal center As Centering, _ ByVal pagesTall As Integer, _ ByVal pagesWide As Integer, _ ByVal headerHeight As Integer, _ ByVal footerHeight As Integer, _ ByVal printToPdf As Boolean, _ ByVal pdfFileName As String, _ ByVal pdfStream As Stream, _ ByVal pdfWriteMode As PdfWriteMode, _ ByVal pdfWriteTo As PdfWriteTo _ )
'Usage Dim header As String Dim footer As String Dim jobName As String Dim margin As PrintMargin Dim orientation As PrintOrientation Dim pageOrder As PrintPageOrder Dim border As Boolean Dim colHeaders As PrintHeader Dim color As Boolean Dim grid As Boolean Dim rowHeaders As PrintHeader Dim showShadows As Boolean Dim useMax As Boolean Dim type As PrintType Dim colStart As Integer Dim colEnd As Integer Dim rowStart As Integer Dim rowEnd As Integer Dim pageStart As Integer Dim pageEnd As Integer Dim useSmartPrint As Boolean Dim rules As SmartPrintRulesCollection Dim bestFitCols As Boolean Dim bestFitRows As Boolean Dim preview As Boolean Dim printer As String Dim firstPageNum As Integer Dim showDialog As Boolean Dim abortMessage As String Dim zoomFactor As Single Dim opacity As Integer Dim notes As PrintNotes Dim paperSrc As PaperSource Dim paperSz As PaperSize Dim objects As Boolean Dim imgList() As Image Dim colorList() As Color Dim repeatColStart As Integer Dim repeatColEnd As Integer Dim repeatRowStart As Integer Dim repeatRowEnd As Integer Dim center As Centering Dim pagesTall As Integer Dim pagesWide As Integer Dim headerHeight As Integer Dim footerHeight As Integer Dim printToPdf As Boolean Dim pdfFileName As String Dim pdfStream As Stream Dim pdfWriteMode As PdfWriteMode Dim pdfWriteTo As PdfWriteTo Dim instance As New PrintInfo(header, footer, jobName, margin, orientation, pageOrder, border, colHeaders, color, grid, rowHeaders, showShadows, useMax, type, colStart, colEnd, rowStart, rowEnd, pageStart, pageEnd, useSmartPrint, rules, bestFitCols, bestFitRows, preview, printer, firstPageNum, showDialog, abortMessage, zoomFactor, opacity, notes, paperSrc, paperSz, objects, imgList, colorList, repeatColStart, repeatColEnd, repeatRowStart, repeatRowEnd, center, pagesTall, pagesWide, headerHeight, footerHeight, printToPdf, pdfFileName, pdfStream, pdfWriteMode, pdfWriteTo)
public PrintInfo( string header, string footer, string jobName, PrintMargin margin, PrintOrientation orientation, PrintPageOrder pageOrder, bool border, PrintHeader colHeaders, bool color, bool grid, PrintHeader rowHeaders, bool showShadows, bool useMax, PrintType type, int colStart, int colEnd, int rowStart, int rowEnd, int pageStart, int pageEnd, bool useSmartPrint, SmartPrintRulesCollection rules, bool bestFitCols, bool bestFitRows, bool preview, string printer, int firstPageNum, bool showDialog, string abortMessage, float zoomFactor, int opacity, PrintNotes notes, PaperSource paperSrc, PaperSize paperSz, bool objects, Image[] imgList, Color[] colorList, int repeatColStart, int repeatColEnd, int repeatRowStart, int repeatRowEnd, Centering center, int pagesTall, int pagesWide, int headerHeight, int footerHeight, bool printToPdf, string pdfFileName, Stream pdfStream, PdfWriteMode pdfWriteMode, PdfWriteTo pdfWriteTo )
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10