iText 9.6.0 API
iText.Layout.Renderer.MulticolRenderer.LayoutInInfiniteHeightCalculator Class Reference

Default implementation of ColumnHeightCalculator which allows 4 relayouts and performs simple additional height calculation (split the elements which don't fit). More...

Inheritance diagram for iText.Layout.Renderer.MulticolRenderer.LayoutInInfiniteHeightCalculator:
iText.Layout.Renderer.MulticolRenderer.ColumnHeightCalculator

Public Member Functions

virtual ? float  GetAdditionalHeightOfEachColumn (MulticolRenderer renderer, MulticolRenderer.MulticolLayoutResult result)
  Calculate height, by which current height of given MulticolRenderer should be increased so MulticolLayoutResult::getOverflowRenderer could be lauded More...
 
virtual int  MaxAmountOfRelayouts ()
 
Returns
maximum amount of relayouts which can be done by this height enhancer

 

Package Attributes

int  maxRelayoutCount = 4
 

Detailed Description

Default implementation of ColumnHeightCalculator which allows 4 relayouts and performs simple additional height calculation (split the elements which don't fit).

Member Function Documentation

◆ GetAdditionalHeightOfEachColumn()

virtual ? float iText.Layout.Renderer.MulticolRenderer.LayoutInInfiniteHeightCalculator.GetAdditionalHeightOfEachColumn ( MulticolRenderer  renderer,
MulticolRenderer.MulticolLayoutResult  result 
)
inlinevirtual

Calculate height, by which current height of given MulticolRenderer should be increased so MulticolLayoutResult::getOverflowRenderer could be lauded

Parameters
renderer multicol renderer for which height needs to be increased
result result of one iteration of MulticolRenderer layouting
Returns
height by which current height of given multicol renderer should be increased

Implements iText.Layout.Renderer.MulticolRenderer.ColumnHeightCalculator.