Table of Contents

Class DivRenderer

Namespace
iText.Layout.Renderer
Assembly
itext.layout.dll

Represents a renderer for the Div layout element.

public class DivRenderer : BlockRenderer, IRenderer, IPropertyContainer
Inheritance
DivRenderer
Implements
Derived
Inherited Members

Constructors

DivRenderer(Div)

Creates a DivRenderer from its corresponding layout object.

public DivRenderer(Div modelElement)

Parameters

modelElement Div

the Div which this object should manage

Methods

GetNextRenderer()

Gets a new instance of this class to be used as a next renderer, after this renderer is used, if Layout(LayoutContext) is called more than once.

public override IRenderer GetNextRenderer()

Returns

IRenderer

new renderer instance

Remarks

Gets a new instance of this class to be used as a next renderer, after this renderer is used, if Layout(LayoutContext) is called more than once.

If a renderer overflows to the next area, iText uses this method to create a renderer for the overflow part. So if one wants to extend DivRenderer , one should override this method: otherwise the default method will be used and thus the default rather than the custom renderer will be created.