[]
        
(Showing Draft Content)

FarPoint.Web.Spread.PrintInfo.-ctor

PrintInfo Constructor

PrintInfo()

Creates a new PrintInfo object.

Declaration
public PrintInfo()
Public Sub New()

PrintInfo(PrintInfo)

Creates a new PrintInfo object based on the specified PrintInfo object.

Declaration
public PrintInfo(PrintInfo pi)
Public Sub New(pi As PrintInfo)
Parameters
Type Name Description
PrintInfo pi

PrintInfo object on which to base new object

PrintInfo(string, string, string, PrintMargin, PrintOrientation, PrintPageOrder, bool, PrintHeader, PrintHeader, bool, bool, bool, bool, bool, PrintHeader, bool, 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)

Creates a new PrintInfo object with the specified printing settings.

Declaration
public PrintInfo(string header, string footer, string jobName, PrintMargin margin, PrintOrientation orientation, PrintPageOrder pageOrder, bool border, PrintHeader colHeaders, PrintHeader colFooters, bool showColFooterEachPage, bool showTitle, bool showSubtitle, 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)
Public Sub New(header As String, footer As String, jobName As String, margin As PrintMargin, orientation As PrintOrientation, pageOrder As PrintPageOrder, border As Boolean, colHeaders As PrintHeader, colFooters As PrintHeader, showColFooterEachPage As Boolean, showTitle As Boolean, showSubtitle As Boolean, color As Boolean, grid As Boolean, rowHeaders As PrintHeader, showShadows As Boolean, useMax As Boolean, type As PrintType, colStart As Integer, colEnd As Integer, rowStart As Integer, rowEnd As Integer, pageStart As Integer, pageEnd As Integer, useSmartPrint As Boolean, rules As SmartPrintRulesCollection, bestFitCols As Boolean, bestFitRows As Boolean, preview As Boolean, printer As String, firstPageNum As Integer, showDialog As Boolean, abortMessage As String, zoomFactor As Single, opacity As Integer, notes As PrintNotes, paperSrc As PaperSource, paperSz As PaperSize, objects As Boolean, imgList As Image(), colorList As Color(), repeatColStart As Integer, repeatColEnd As Integer, repeatRowStart As Integer, repeatRowEnd As Integer, center As Centering, pagesTall As Integer, pagesWide As Integer, headerHeight As Integer, footerHeight As Integer)
Parameters
Type Name Description
string header

Header text

string footer

Footer text

string jobName

Print job name

PrintMargin margin

Print margins

PrintOrientation orientation

Page orientation

PrintPageOrder pageOrder

Print page order

bool border

Whether to print the sheet border

PrintHeader colHeaders

Whether to print column headers

PrintHeader colFooters

Whether to print column footers

bool showColFooterEachPage

Whether to print column footers in each page

bool showTitle

Whether to print the title

bool showSubtitle

Whether to print the subtitle

bool color

Whether to print in color

bool grid

Whether to print grid lines

PrintHeader rowHeaders

Whether to print row headers

bool showShadows

Whether to print the header shadows

bool useMax

Whether to print cells that do not have data

PrintType type

What to print

int colStart

First column of cell range to print

int colEnd

Last column of cell range to print

int rowStart

First row of cell range to print

int rowEnd

Last row of cell range to print

int pageStart

First page of page range to print

int pageEnd

Last page of page range to print

bool useSmartPrint

Whether to use SmartPrint

SmartPrintRulesCollection rules

SmartPrint rules

bool bestFitCols

Whether to adjust column widths for printing

bool bestFitRows

Whether to adjust row heights for printing

bool preview

Whether to preview the sheet rather than print it

string printer

Printer to which to print

int firstPageNum

Page number to print on first page

bool showDialog

Whether to show the print dialog

string abortMessage

Message to display for canceling printing

float zoomFactor

Factor to zoom sheet for printing

int opacity

Alpha value used for sheet

PrintNotes notes

Whether cell notes are printed

PaperSource paperSrc

Source location of paper

PaperSize paperSz

Paper size

bool objects

Whether objects are printed

Image[] imgList

Images to use for headers and footers

Color[] colorList

Colors to use for headers and footers

int repeatColStart

Index of beginning column of a repeating range

int repeatColEnd

Index of ending column of a repeating range

int repeatRowStart

Index of a beginning row of a repeating range

int repeatRowEnd

Index of ending row of a repeating range

Centering center

Type of centering to perform on print out

int pagesTall

Number of pages tall to fit print out into when smart print is true

int pagesWide

Number of pages wide to fit print out into when smart print is true

int headerHeight

Sets the user defined height of the header area

int footerHeight

Sets the user defined height of the footer area

PrintInfo(SerializationInfo, StreamingContext)

Prints information from serialization.

Declaration
protected PrintInfo(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Parameters
Type Name Description
SerializationInfo info

Serialization information

StreamingContext context

Streaming context