iText 7 7.1.9 API
iText.Layout.Layout.LayoutContext Class Reference

Represents the context for content layouting. More...

Inheritance diagram for iText.Layout.Layout.LayoutContext:
iText.Layout.Layout.LineLayoutContext iText.Layout.Layout.PositionedLayoutContext

Public Member Functions

  LayoutContext (LayoutArea area)
 
  LayoutContext (LayoutArea area, MarginsCollapseInfo marginsCollapseInfo)
 
  LayoutContext (LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, IList< Rectangle > floatedRendererAreas)
 
  LayoutContext (LayoutArea area, bool clippedHeight)
 
  LayoutContext (LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, IList< Rectangle > floatedRendererAreas, bool clippedHeight)
 
virtual LayoutArea  GetArea ()
  Gets the area the content to be placed on. More...
 
virtual MarginsCollapseInfo  GetMarginsCollapseInfo ()
 
virtual IList< Rectangle GetFloatRendererAreas ()
 
virtual bool  IsClippedHeight ()
  Indicates whether the layout area's height is clipped or not. More...
 
virtual void  SetClippedHeight (bool clippedHeight)
  Defines whether the layout area's height is clipped or not. More...
 
override String  ToString ()
 

Detailed Description

Represents the context for content layouting.

Member Function Documentation

◆ GetArea()

virtual LayoutArea iText.Layout.Layout.LayoutContext.GetArea ( )
inlinevirtual

Gets the area the content to be placed on.

Returns
the area for content layouting.

◆ IsClippedHeight()

virtual bool iText.Layout.Layout.LayoutContext.IsClippedHeight ( )
inlinevirtual

Indicates whether the layout area's height is clipped or not.

Returns
whether the layout area's height is clipped or not.

◆ SetClippedHeight()

virtual void iText.Layout.Layout.LayoutContext.SetClippedHeight ( bool  clippedHeight )
inlinevirtual

Defines whether the layout area's height is clipped or not.

Parameters
clippedHeight

◆ ToString()

override String iText.Layout.Layout.LayoutContext.ToString ( )
inline