'Declaration
Public Function New( _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As PrintMargin, _
ByVal As PrintOrientation, _
ByVal As PrintPageOrder, _
ByVal As Boolean, _
ByVal As PrintHeader, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As PrintHeader, _
ByVal showShadows As Boolean, _
ByVal As Boolean, _
ByVal As PrintType, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Boolean, _
ByVal As SmartPrintRulesCollection, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As String, _
ByVal As Integer, _
ByVal As Boolean, _
ByVal As String, _
ByVal As Single, _
ByVal As Integer, _
ByVal As PrintNotes, _
ByVal As PaperSource, _
ByVal As PaperSize, _
ByVal As Boolean, _
ByVal () As Image, _
ByVal () As Color, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Centering, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Boolean, _
ByVal As String, _
ByVal As Stream, _
ByVal As PdfWriteMode, _
ByVal As PdfWriteTo _
)
'使用法
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 ,
string ,
string ,
PrintMargin ,
PrintOrientation ,
PrintPageOrder ,
bool ,
PrintHeader ,
bool ,
bool ,
PrintHeader ,
bool showShadows,
bool ,
PrintType ,
int ,
int ,
int ,
int ,
int ,
int ,
bool ,
SmartPrintRulesCollection ,
bool ,
bool ,
bool ,
string ,
int ,
bool ,
string ,
float ,
int ,
PrintNotes ,
PaperSource ,
PaperSize ,
bool ,
Image[] ,
Color[] ,
int ,
int ,
int ,
int ,
Centering ,
int ,
int ,
int ,
int ,
bool ,
string ,
Stream ,
PdfWriteMode ,
PdfWriteTo
)