Class TableViewDefinitionPrintRenderer
Represents the print renderer for the table view definition.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class TableViewDefinitionPrintRenderer : BaseGridPrintRenderer, IGridPrintRenderer
Constructors
TableViewDefinitionPrintRenderer(RadGridView)
Initializes a new instance of the Table
Declaration
public TableViewDefinitionPrintRenderer(RadGridView grid)
Parameters
Rad The grid. |
Properties
CurrentPrintPage
Gets or sets the current print page. Used for Multi-page printing.
Declaration
public int CurrentPrintPage { get; set; }
Property Value
System. The current print page. |
PrintPages
Gets or sets the print pages. Collection of Print
Declaration
public PrintPagesCollection PrintPages { get; set; }
Property Value
Print The print pages. |
ViewDefinitionType
Gets the view definition type this print style is for.
Declaration
public override Type ViewDefinitionType { get; }
Property Value
System. The type of the view definition. |
Overrides
Methods
DrawPage(PrintGridTraverser, Rectangle, Graphics, GridPrintSettings, Int32)
Renders a whole page using the settings provided.
Declaration
public override void DrawPage(PrintGridTraverser traverser, Rectangle drawArea, Graphics graphics, GridPrintSettings settings, int pageNumber)
Parameters
Print The traverser to iterate the grid with. |
System. The size of the drawable area. |
System. The graphics used for the drawing. |
Grid The print settings used for the drawing. |
System. The number of the current page. |
Overrides
GetRowSize(GridViewRowInfo, TableViewRowLayout)
Gets the row size using the provided row layout.
Declaration
protected virtual Size GetRowSize(GridViewRowInfo row, TableViewRowLayout rowLayout)
Parameters
Grid The row to measure. |
Table The row layout to be used for the measure. |
Returns
System. The size of the row. |
PrintRow(GridViewRowInfo, TableViewRowLayout, GridPrintSettings, Int32, Int32, Graphics)
Prints a single row of the Rad
Declaration
protected virtual void PrintRow(GridViewRowInfo row, TableViewRowLayout rowLayout, GridPrintSettings settings, int currentX, int currentY, Graphics graphics)
Parameters
Grid The actual row that is being printed. |
Table The Column |
Grid The print settings to print the row with. |
System. The X coordinate that the row should start to paint. |
System. The Y coordinate that the row should start to paint. |
System. The System. |
PrintRow(GridViewRowInfo, TableViewRowLayout, GridPrintSettings, Int32, Int32, Graphics, Rectangle)
Prints a single row of the Rad
Declaration
protected virtual void PrintRow(GridViewRowInfo row, TableViewRowLayout rowLayout, GridPrintSettings settings, int currentX, int currentY, Graphics graphics, Rectangle drawArea)
Parameters
Grid The actual row that is being printed. |
Table The Column |
Grid The print settings to print the row with. |
System. The X coordinate that the row should start to paint. |
System. The Y coordinate that the row should start to paint. |
System. The System. |
System. The available draw area to print the row in. |
PrintRowWideCell(GridViewRowInfo, TableViewRowLayout, GridPrintSettings, Int32, Int32, Graphics)
Prints a single cell that is wide as the whole Rad
Declaration
protected virtual void PrintRowWideCell(GridViewRowInfo row, TableViewRowLayout rowLayout, GridPrintSettings settings, int currentX, int currentY, Graphics graphics)
Parameters
Grid The actual row that is being printed. |
Table The Column |
Grid The print settings to print the row with. |
System. The X coordinate that the row should start to paint. |
System. The Y coordinate that the row should start to paint. |
System. The System. |
Reset()
Resets the print style for subsequent use.
Declaration
public override void Reset()
Overrides
RestoreColumnsState(ColumnsState)
Restores the state of the columns.
Declaration
protected virtual void RestoreColumnsState(ColumnsState state)
Parameters
Columns The state. |
SaveColumnsState(GridViewTemplate)
Saves the state of the columns.
Declaration
protected virtual ColumnsState SaveColumnsState(GridViewTemplate template)
Parameters
Grid The template. |