[]
        
(Showing Draft Content)

FarPoint.Win.Spread.PrintInfo

PrintInfo Class

Represents the information to use when printing a sheet of the control.

Inheritance
PrintInfo
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PrintInfo : ICloneable, ISerializeSupport, ISerializable
<TypeConverter(GetType(ExpandableObjectConverter))>
Public Class PrintInfo
    Implements ICloneable, ISerializeSupport, ISerializable

Constructors

Name Description
PrintInfo()

Creates a new PrintInfo object.

PrintInfo(PrintInfo)

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

PrintInfo(SerializationInfo, StreamingContext)

Prints information from serialization.

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, bool, string, Stream, PdfWriteMode, PdfWriteTo)

Creates a new PrintInfo object with the specified printing settings.

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

Creates a new PrintInfo object with the specified print settings.

Properties

Name Description
AbortMessage

Gets or sets the message to display for the abort dialog.

BestFitCols

Gets or sets whether column widths are adjusted to fit the longest string width for printing.

BestFitRows

Gets or sets whether row heights are adjusted to fit the tallest string height for printing.

BestFitWithSpan

Gets or sets whether to ignore spans when calculating best fit rows and columns.

Centering

Gets or sets how the printed page is centered.

ColEnd

Gets or sets the last column to print when printing a cell range.

ColStart

Gets or sets the first column to print when printing a cell range.

Collated

Gets or sets a value indicating whether the printed document is collated.

Colors

Gets or sets the color list for the header and footer.

DifferentFirstPageHeaderFooter

Gets or sets a value indicating whether the different header or footer is used on the first page.

Duplex

Gets or sets the printer setting for double-sided printing.

EnhancePreview

Gets or sets the state to show enhanced print preview dialog.

EvenColors

Gets or sets the color list for the even header and footer.

EvenFooter

Gets or sets the text and format of even footers on printed pages.

EvenHeader

Gets or sets the text and format of even headers on printed pages.

EvenImages

Gets or sets the image list for the even header and footer.

FirstColors

Gets or sets the color list for the first header and footer.

FirstFooter

Gets or sets the text and format of first footers on printed pages.

FirstHeader

Gets or sets the text and format of first headers on printed pages.

FirstImages

Gets or sets the image list for the first header and footer.

FirstPageNumber

Gets or sets the page number to print on the first page.

Gets or sets the text and format of footers on printed pages.

FooterHeight

Gets or sets the height in pixels of the footer area.

Header

Gets or sets the text and format of headers on printed pages.

HeaderHeight

Gets or sets the height in pixels of the header area.

Images

Gets or sets the image list for the header and footer.

JobName

Gets or sets the name of the print job.

Margin

Gets or sets the margins for printing.

OddAndEvenPagesHeaderFooter

Gets or sets a value indicating whether the specified PrintInfo object has different headers and footers for odd-numbered and even-numbered pages.

Opacity

Gets or sets the opacity used when printing this sheet.

Orientation

Gets or sets the page orientation used for printing.

PageEnd

Gets or sets the last page to print when printing a page range.

PageOrder

Gets or sets the order in which pages print.

PageStart

Gets or sets the first page to print when printing a page range.

PaperSize

Gets or sets the paper size for printing.

PaperSource

Gets or sets the paper source for printing.

PdfFileName

Gets or sets the path and filename for printing the sheet as PDF.

PdfSecurity

Gets or sets the security for printing the sheet as PDF.

PdfStream

Gets or sets the stream for printing the sheet as PDF.

PdfWriteMode

Gets or sets how printing of the sheet as PDF is handled relative to other sheets.

PdfWriteTo

Gets or sets the output for printing the sheet as PDF.

Preview

Gets or sets whether to preview the sheet instead of printing.

PrintNotes

Gets or sets how cell notes are printed after the sheet(s).

PrintShapes

Gets or sets whether shapes are printed.

PrintToPdf

Gets or sets whether to print the sheet as PDF.

PrintType

Gets or sets what is to be printed.

Printer

Gets or sets the name of the printer to use for printing.

RepeatColEnd

Gets or sets the last column for a range of columns to print at the left of each page.

RepeatColStart

Gets or sets the first column for a range of columns to print at the left of each page.

RepeatRowEnd

Gets or sets the last row for a range of rows to print at the top of each page.

RepeatRowStart

Gets or sets the first row for a range of rows to print at the top of each page.

RowEnd

Gets or sets the last row to print when printing a cell range.

RowStart

Gets or sets the first row to print when printing a cell range.

ShowBorder

Gets or sets whether to print the outline border around the entire control.

ShowColor

Gets or sets whether to print the colors as they appear on the screen.

ShowColumnFooter

Gets or sets whether to print the column footer.

ShowColumnFooterEachPage

Gets or sets whether to print the column footer on every page.

ShowColumnHeader

Gets or sets whether to print the column header.

ShowGrid

Gets or sets whether to print the grid lines.

ShowPageSetupButton

Gets or sets the state to show page settup button on toolbar of print preview dialog.

ShowPrintDialog

Gets or sets whether to display a print dialog before printing.

ShowRowHeader

Gets or sets whether to print the row header.

ShowShadows

Gets or sets whether to print the header shadows.

ShowSubtitle

Gets or sets whether to print the subtitle.

ShowTitle

Gets or sets whether to print the title.

SmartPrintPagesTall

Gets or sets the number of vertical pages to check when optimizing printing.

SmartPrintPagesWide

Gets or sets the number of horizontal pages to check when optimizing the printing.

SmartPrintRules

Gets or sets the collection of rules to optimize the printing.

UseMax

Gets or sets whether to print only rows that contain data.

UseSmartPrint

Gets or sets whether the control optimizes the printing using rules.

ZoomFactor

Gets or sets the zoom factor used for printing this sheet.

Methods

Name Description
Clone()

Creates a new PrintInfo object that is a copy of the current instance.

CopyFrom(object)

Copies the properties of the specified PrintInfo object to the current PrintInfo object.

GetObjectData(SerializationInfo, StreamingContext)

Gets the object data from serialization.

ShouldSerializeMargin()

Determines whether to serialize the margin.

ShouldSerializeSmartPrintRules()

Determines whether to serialize printing optimization rules.

ToString()

Always returns null.