[]
        
(Showing Draft Content)

C1.Win.GanttView.Printing.PrintInfo

PrintInfo Class

The class used to manage ganttview printing.

Inheritance
PrintInfo
Namespace: C1.Win.GanttView.Printing
Assembly: C1.Win.GanttView.8.dll
Syntax
public class PrintInfo

Properties

Name Description
CurrentPageSettings

Gets or sets the PageSettings for printing.

EndDate

Gets the DateTime value represents the end date range for printing.

FitHorizontally

Gets or sets whether the C1GanttView should be fitted into the page horizontally.

FitVertically

Gets or sets whether the C1GanttView should be fitted into the page vertically.

FooterCenter

Gets or sets a string value used in the center part of the page footers.

FooterColor

Gets or sets a Color object used for printing page footers.

FooterFont

Gets or sets a Font object used for printing page footers.

FooterLeft

Gets or sets a string value used in the left part of the page footers.

FooterRight

Gets or sets a string value used in the right part of the page footer.

HeaderCenter

Gets or sets a string value used in the center part of the page headers.

HeaderColor

Gets or sets a Color object used for printing page headers.

HeaderFont

Gets or sets a Font object used for printing page headers.

HeaderLeft

Gets or sets a string value used in the left part of the page headers.

HeaderRight

Gets or sets a string value used in the right part of the page headers..

IsPreviewEnabled

Gets a bool value determining whether preview is enabled.

IsPrintingEnabled

Gets a bool value determining whether printing is enabled.

LegendCenter

Gets or sets a string value used in the center part of the legend.

LegendColor

Gets or sets a Color object used for printing legends.

LegendFont

Gets or sets a Font object used for printing legends.

LegendLabelColor

Gets or sets a Color object used for printing legend labels.

LegendLabelFont

Gets or sets a Font object used for printing legend labels.

LegendLeft

Gets or sets a string value used in the left part of the legend.

LegendRight

Gets or sets a string value used in the right part of the legend.

LegendTextAreaWidth

Gets or sets a float value specifies width of the text area of legend.

NumberOfFirstColumns

Gets or sets an int value specifies the number of first columns to be printed.

NumberOfRepeatColumns

Gets or sets an int value specifies the number of first columns will be printed repeatly.

PreviewHelper

Gets the PreviewWrapper object.

PrintAllGridColumns

Gets or sets a bool value indicating whether print all columns of gridview.

PrintBorders

Gets or sets a value indicating whether borders specified by the grid styles are printed. Set this property to false if you want to use C1PrintDocument's Style.Borders and/or Style.GridLines to specify how borders are printed instead.

The default value is true.

PrintEntireProject

Gets or sets a bool value determining whether print entire project or specific date range.

PrintHighlight

Gets or sets a value indicating whether highlighted cells are printed as such.

The default value is false.

PrintType

Gets or sets the type of printing layout style.

Scale

Gets or sets the scale of printing gantt view.

ShowOptionsForm

Gets or sets a bool value determining whether control should show options form before printing.

ShowProgressForm

Gets or sets a value indicating whether the Progress Form is displayed.

StartDate

Gets the DateTime value represents the start date range for printing.

StyleSource

Gets or sets the string value determining the source of C1PrintDocument template. It might be the name of .c1d or .c1dx file or the name of resource.

Methods

Name Description
MakeLegendTable()

Gets RenderTable object that represents legend table.

Preview()

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

Preview(string)

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

Print()

Sends default printing style for the currently selected view to the printer.

Print(string)

Sends the specified printing style from file to the printer.