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

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

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

Public Member Functions

  AutoRepeatValue (bool autoFit, IList< GridValue > values)
  Create a new auto-repeat value More...
 
virtual IList< GridValue GetValues ()
  Get template values which should be repeated. More...
 
virtual bool  IsAutoFit ()
  Determines whether to shrink flatten template values to match the grid size. 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 auto-repeat template value.

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

Constructor & Destructor Documentation

◆ AutoRepeatValue()

iText.Layout.Properties.Grid.AutoRepeatValue.AutoRepeatValue ( bool  autoFit,
IList< GridValue values 
)
inline

Create a new auto-repeat value

Parameters
autoFit determines whether to shrink flatten template values to match the grid size
values template values to repeat

Member Function Documentation

◆ GetValues()

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

Get template values which should be repeated.

Returns
template values list

◆ IsAutoFit()

virtual bool iText.Layout.Properties.Grid.AutoRepeatValue.IsAutoFit ( )
inlinevirtual

Determines whether to shrink flatten template values to match the grid size.

Returns

true if to shrink, false otherwise