Represents the print renderer for the HtmlViewDefinition.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class HtmlViewDefinitionPrintRenderer : BaseGridPrintRenderer, IGridPrintRenderer
Inheritance: objectBaseGridPrintRendererHtmlViewDefinitionPrintRenderer
Implements:
Inherited Members
Constructors
Initializes a new instance of the HtmlViewDefinitionPrintRenderer class.
Properties
Gets the view definition type this print style is for.
public override Type ViewDefinitionType { get; }
The type of the view definition.
Overrides:
Methods
Renders a whole page using the settings provided.
public override void DrawPage(PrintGridTraverser traverser, Rectangle drawArea, Graphics graphics, GridPrintSettings settings, int pageNumber)
The traverser to iterate the grid with.
drawAreaRectangleThe size of the drawable area.
graphicsGraphicsThe graphics used for the drawing.
settingsGridPrintSettingsThe print settings used for the drawing.
pageNumberintThe number of the current page.
Overrides:
Gets the row size using the provided row layout.
protected virtual Size GetRowSize(GridViewRowInfo row, HtmlViewRowLayout rowLayout)
The row to measure.
rowLayoutHtmlViewRowLayoutThe row layout to be used for the measure.
Returns:The size of the row.
Prints a single row of the RadGridView.
protected virtual void PrintRow(GridViewRowInfo row, HtmlViewRowLayout rowLayout, GridPrintSettings settings, int currentX, int currentY, Graphics graphics)
The actual row that is being printed.
rowLayoutHtmlViewRowLayoutThe ColumnGroupRowLayout used for layouting the cells.
settingsGridPrintSettingsThe print settings to print the row with.
currentXintThe X coordinate that the row should start to paint.
currentYintThe Y coordinate that the row should start to paint.
graphicsGraphicsThe Graphics used for the drawing.
Prints a single cell that is wide as the whole RadGridView.
protected virtual void PrintRowWideCell(GridViewRowInfo row, HtmlViewRowLayout rowLayout, GridPrintSettings settings, int currentX, int currentY, Graphics graphics)
The actual row that is being printed.
rowLayoutHtmlViewRowLayoutThe ColumnGroupRowLayout used for lay outing the cells.
settingsGridPrintSettingsThe print settings to print the row with.
currentXintThe X coordinate that the row should start to paint.
currentYintThe Y coordinate that the row should start to paint.
graphicsGraphicsThe Graphics used for the drawing.
Resets the print style for subsequent use.
public override void Reset()
Overrides: