Table of Contents

Class TabRenderer

Namespace
iText.Layout.Renderer
Assembly
itext.layout.dll
public class TabRenderer : AbstractRenderer, IRenderer, IPropertyContainer
Inheritance
TabRenderer
Implements
Inherited Members

Constructors

TabRenderer(Tab)

Creates a TabRenderer from its corresponding layout object

public TabRenderer(Tab tab)

Parameters

tab Tab

the Tab which this object should manage

Methods

Draw(DrawContext)

public override void Draw(DrawContext drawContext)

Parameters

drawContext DrawContext

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 TabRenderer , one should override this method: otherwise the default method will be used and thus the default rather than the custom renderer will be created.

Layout(LayoutContext)

public override LayoutResult Layout(LayoutContext layoutContext)

Parameters

layoutContext LayoutContext

Returns

LayoutResult