[]
        
(Showing Draft Content)

C1.Win.List.PrintInfo

PrintInfo Class

Specifies how a C1List should be printed or exported when using such methods as C1.Win.List.PrintInfo.ExportTo, Print() etc.

Inheritance
PrintInfo
Namespace: C1.Win.List
Assembly: C1.Win.List.8.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PrintInfo

Properties

Name Description
FillAreaWidth

Gets or sets a value indicating how empty space left on a printed page is handled.

GridLines

Gets or sets a value indicating how grid lines are rendered.

MaxRowHeight

Gets or sets the maximum row height in hundredths of an inch (used if VarRowHeight is StretchToMax).

OneFormPerPage

Gets or sets a value indicating whether the grid in Form view style is printed each record per page.

OwnerDrawPageFooter

Gets or sets a value indicating whether the page footer is owner-drawn.

OwnerDrawPageHeader

Gets or sets a value indicating whether the page header is owner-drawn.

PageBreak

Gets or sets the horizontal page break mode.

Gets or sets a string to be printed at the bottom of each page.

PageFooterHeight

Gets or sets the page footer height in hundredths of an inch.

PageFooterStyle

Gets or sets the style used to render the page footer.

PageHeader

Gets or sets the string to be printed at the top of each page.

PageHeaderHeight

Gets or sets the height of the Page header.

PageHeaderStyle

Gets or sets the style used to render the page header.

PageSettings

Gets or sets the PageSettings for printing.

PreviewFormClassName

Gets or sets the class name of the form used as the preview form.

PrintEmptyGrid

Gets or sets a value whether to print a grid if it has no data rows.

PrintHorizontalSplits

Gets or sets a value indicating whether horizontal splits are previewed and printed.

PrintOptionsFormClassName

Gets or sets the class name of the form used as the print options dialog.

ProgressCaption

Gets or sets the caption of the print progress dialog.

RepeatColumnFooters

Gets or sets a value indicating whether column footers should appear on each page.

RepeatColumnHeaders

Gets or sets a value indicating whether column headers should appear on each page.

RepeatGridHeader

Gets or sets a value indicating whether the grid caption should appear on each page.

RepeatSplitHeaders

Gets or sets a value inidcating whether split captions should appear on each page.

RowCanSplit

Gets or sets a value indicating whether the grid rows can split between pages.

ShowOptionsDialog

Gets or sets a value indicating whether the options dialog is displayed when the grid is printed or exported.

ShowProgressForm

Gets or sets a value indicating whether the progress dialog is displayed when the grid is printed or exported.

ShowSelection

Gets or sets a value indicating whether selected cells will be highlighted when previewing or printing.

UseGridColors

Gets or sets a value indicating whether the grid's color scheme is translated to the print page.

VarRowHeight

Gets or sets a value indicating how row height of the printed grid is determined.

WrapText

Gets or sets a value that controls how text is wrapped in a cell.

Methods

Name Description
Print()

Prints the grid.

Print(PrinterSettings)

Prints the grid.

Print(Stream)

Saves the current grid to a stream in C1D (native C1PrintDocument) format.

Note that unlike most other print/export methods, this method does not require C1Report assemblies.

PrintPreview()

Opens a separate modal window in which end users can preview the output that would be generated by the print operation.

PrintToStream()

Saves the current grid to a memory stream in C1D (native C1PrintDocument) format.

The stream's Position is set to 0 when the method returns.

ResetPreviewFormClassName()

Resets the PreviewFormClassName property to its default value.

ResetPrintOptionsFormClassName()

Resets the PrintOptionsFormClassName property to its default value.

SaveAsC1d(Stream)

Saves the current grid to a stream in C1D (native C1PrintDocument) format.

Note that unlike most other print/export methods, this method does not require C1Report assemblies.

SaveAsC1d(string)

Saves the current grid as a C1D file, which can later be loaded into a C1PrintDocument (provided by C1Report product).

Note that unlike most other print/export methods, this method does not require C1Report assemblies.

ShouldSerializePageSettings()

Indicates whether the PageSettings property should be serialized.

ShouldSerializePreviewFormClassName()

Indicates whether the PreviewFormClassName property should be serialized.

ShouldSerializePrintOptionsFormClassName()

Indicates whether the PrintOptionsFormClassName property should be serialized.

ToString()