iText 8.0.5 API
iText.Layout.Properties.Grid.FixedRepeatValue Class Reference

This class represents an fixed-repeat template value. More...

Inheritance diagram for iText.Layout.Properties.Grid.FixedRepeatValue:
iText.Layout.Properties.Grid.TemplateValue

Public Member Functions

  FixedRepeatValue (int repeatCount, IList< GridValue > values)
  Create a new fixed-repeat value More...
 
virtual IList< GridValue GetValues ()
  Gets template values which should be repeated. More...
 
virtual int  GetRepeatCount ()
  Gets number of template values repetitions. More...
 
- Public Member Functions inherited from iText.Layout.Properties.Grid.TemplateValue
virtual TemplateValue.ValueType  GetType ()
  Gets template value type. More...
 

Additional Inherited Members

- Public Types inherited from iText.Layout.Properties.Grid.TemplateValue
enum   ValueType {
  ValueType.POINT, ValueType.PERCENT, ValueType.AUTO, ValueType.MIN_CONTENT,
  ValueType.MAX_CONTENT, ValueType.FIT_CONTENT, ValueType.MINMAX, ValueType.FLEX,
  ValueType.FIXED_REPEAT, ValueType.AUTO_REPEAT
}
  Enum of sizing value types. More...
 
- Package Functions inherited from iText.Layout.Properties.Grid.TemplateValue
  TemplateValue (TemplateValue.ValueType type)
  Creates template value with a given type. More...
 
- Package Attributes inherited from iText.Layout.Properties.Grid.TemplateValue
readonly TemplateValue.ValueType  type
  Template value type. More...
 

Detailed Description

This class represents an fixed-repeat template value.

This class represents an fixed-repeat template value. This value is preprocessed before grid sizing algorithm so its only exists at template level.

Constructor & Destructor Documentation

◆ FixedRepeatValue()

iText.Layout.Properties.Grid.FixedRepeatValue.FixedRepeatValue ( int  repeatCount,
IList< GridValue values 
)
inline

Create a new fixed-repeat value

Parameters
repeatCount number of repetitions
values template values to repeat

Member Function Documentation

◆ GetRepeatCount()

virtual int iText.Layout.Properties.Grid.FixedRepeatValue.GetRepeatCount ( )
inlinevirtual

Gets number of template values repetitions.

Returns
number of template values repetitions

◆ GetValues()

virtual IList<GridValue> iText.Layout.Properties.Grid.FixedRepeatValue.GetValues ( )
inlinevirtual

Gets template values which should be repeated.

Returns
template values list