[]
Represents the information to use when printing a sheet of the control.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PrintInfo : ICloneable, ISerializeSupport, ISerializable
<TypeConverter(GetType(ExpandableObjectConverter))>
Public Class PrintInfo
Implements ICloneable, ISerializeSupport, ISerializable
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) | Creates a new PrintInfo object with the specified printing settings. |
Name | Description |
---|---|
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. |
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. |
Colors | Gets or sets the color list for the header and footer. |
FirstPageNumber | Gets or sets the page number to print on the first page. |
Footer | 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. |
Margin | Gets or sets the margins for printing. |
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. |
PdfSecurity | Gets or sets the security for printing the sheet as PDF. |
PrintNotes | Gets or sets how cell notes are printed after the sheet(s). |
PrintType | Gets or sets what is to be printed. |
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. |
ShowFilterBar | Gets or sets whether to print the filter bar. |
ShowGrid | Gets or sets whether to print the grid lines. |
ShowRowHeader | Gets or sets whether to print the row header. |
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. |
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. |