IPdfExportRenderer
Defines PDF document export, page-matrix navigation, and block layout operations.
Definition
Namespace:Telerik.WinControls.Export
Assembly:Telerik.WinControls.dll
Syntax:
public interface IPdfExportRenderer
Properties
Gets or sets the current column in the page matrix.
int CurrentMatrixColumn { get; set; }
Gets or sets the current row in the page matrix.
int CurrentMatrixRow { get; set; }
Methods
Adds the matrix's existing pages to the document in row-major order.
void AddMatrixPagesLeftRight()
Attempts to add matrix pages in column-major order. The current implementation adds no valid pages and may fail when a matrix row has fewer pages than the current column.
void AddMatrixPagesUpDown()
Copies the current editor's graphic and text properties to the block.
void ApplyEditorGraphicAndTextPropertiesToBlock()
Notifies the renderer that the current row's page has been exported.
void CallCurrentRowPageExported()
Creates a block for accumulating text, line breaks, and images before layout or drawing.
void CreateBlock()
Creates a page-matrix editor for pages of the specified size.
void CreateDocumentPageMatrixEditor(SizeF pageSize, ref IPdfEditor editor)
The size of each page in the matrix.
editorIPdfEditorReceives the editor associated with the created page matrix.
Draws the current block using its measured size.
void DrawBlock()
Draws the current block using the specified size.
Writes the PDF document and its descriptive metadata to the specified stream.
Gets the editor for the current matrix page.
Gets the number of the current PDF page.
Gets the editor for the first page in the row below the current matrix row.
IPdfEditor GetDownPageEditor()
The editor for the first page in the next matrix row.
Gets the editor for the page to the right of the current matrix page.
IPdfEditor GetRightPageEditor()
The editor for the page to the right of the current matrix page.
Adds a line break to the current block.
void InsertBlockLineBreak()
Adds text to the current block.
Determines whether the current matrix page is the last page in its row.
bool IsMatrixCurrentPageLastOnRow()
true if it is the last page in the row; otherwise, false.
Measures the current block and returns its required size.
Sets the left indent applied when laying out the current block.